Prebuilt Docker-based toolchains for compiling, building, and running D language projects. Useful as base images for CI/CD pipelines, development environments, or containerized builds.
All images are based on ubuntu:24.04
and include the DMD/LDC2 compiler, dub
, and rdmd
, ready to use out of the box.
Image Tag | Description | Link |
---|---|---|
dmd-latest |
Latest DMD compiler + dub + rdmd | link |
dmd-2.111.0 |
DMD compiler v2.111.0 + dub + rdmd | link |
Image Tag | Description | Link |
---|---|---|
ldc2-latest |
Latest LDC2 compiler + dub + rdmd | link |
ldc2-2.111.0 |
LDC2 compiler v2.111.0 + dub + rdmd | link |
docker run --rm kirillsaidov/dlang:dmd-latest dmd --version
docker run --rm -v $PWD:/app -w /app kirillsaidov/dlang:dmd-latest dub build
docker run --rm -v $PWD:/app -w /app kirillsaidov/dlang:dmd-latest dub run
You can interactively use the container to build your project:
docker run --rm -v $PWD:/app -w /app -it kirillsaidov/dlang:dmd-latest /bin/bash
Unlicense.