Skip to content

kirillsaidov/dlang-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

D Docker Containers

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.

Docker

Available Images

All images are based on ubuntu:24.04 and include the DMD/LDC2 compiler, dub, and rdmd, ready to use out of the box.

DMD

Image Tag Description Link
dmd-latest Latest DMD compiler + dub + rdmd link
dmd-2.111.0 DMD compiler v2.111.0 + dub + rdmd link

LDC2

Image Tag Description Link
ldc2-latest Latest LDC2 compiler + dub + rdmd link
ldc2-2.111.0 LDC2 compiler v2.111.0 + dub + rdmd link

Usage Example

Check compiler version

docker run --rm kirillsaidov/dlang:dmd-latest dmd --version

Build and test your project

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

Interactive environment

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

LICENSE

Unlicense.

About

Docker for D programming language.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published