Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lindt/docker-gdc
Docker Image for GDC
https://github.com/lindt/docker-gdc
compiler dlang docker gdc
Last synced: 2 days ago
JSON representation
Docker Image for GDC
- Host: GitHub
- URL: https://github.com/lindt/docker-gdc
- Owner: lindt
- License: mit
- Created: 2016-10-30T04:19:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-12T08:13:17.000Z (over 6 years ago)
- Last Synced: 2024-11-08T11:56:33.998Z (about 2 months ago)
- Topics: compiler, dlang, docker, gdc
- Language: Shell
- Homepage: https://hub.docker.com/r/dlanguage/gdc/
- Size: 8.79 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Docker pulls](https://img.shields.io/docker/pulls/dlanguage/gdc.svg)](https://hub.docker.com/r/dlanguage/gdc/)
[![Docker Build](https://img.shields.io/docker/automated/dlanguage/gdc.svg)](https://hub.docker.com/r/dlanguage/gdc/)
[![Latest Tag](https://img.shields.io/github/tag/lindt/docker-gdc.svg)](https://hub.docker.com/r/dlanguage/gdc/)# docker-gdc
Docker Image for GCC-based [D](http://dlang.org) Compiler.
## Motivation
Installation of a compiler sometimes is cumbersome. This Docker image should take this pain and allow you to easily switch between Versions of the same compiler and even different compilers.
In case a native installation is required, `curl -fsS https://dlang.org/install.sh | bash -s gdc` could be used.
## Other Compilers
Allows to use all major D Compilers without installation.
| Compiler | Latest Tag |
| -------- | ---------- |
| DMD | [![Latest Tag](https://img.shields.io/github/tag/lindt/docker-dmd.svg)](https://hub.docker.com/r/dlanguage/dmd/) |
| LDC | [![Latest Tag](https://img.shields.io/github/tag/lindt/docker-ldc.svg)](https://hub.docker.com/r/dlanguage/ldc/) |
| GDC | [![Latest Tag](https://img.shields.io/github/tag/lindt/docker-gdc.svg)](https://hub.docker.com/r/dlanguage/gdc/) |## Usage
Place a `test.d` in your current directory.
Then execute
```
docker run --rm -ti -v $(pwd):/src dlanguage/gdc gdc test.d
```