Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```