{"id":16373334,"url":"https://github.com/lindt/docker-dmd","last_synced_at":"2025-03-23T03:32:32.967Z","repository":{"id":147443487,"uuid":"72278970","full_name":"lindt/docker-dmd","owner":"lindt","description":"Docker Image for DMD","archived":false,"fork":false,"pushed_at":"2018-06-15T10:56:20.000Z","size":54,"stargazers_count":22,"open_issues_count":3,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T17:05:49.708Z","etag":null,"topics":["compiler","dlang","dmd","docker"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/dlanguage/dmd/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lindt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-29T10:39:04.000Z","updated_at":"2023-07-25T14:05:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"84132d19-3db4-4af6-a09a-6e63e776f502","html_url":"https://github.com/lindt/docker-dmd","commit_stats":null,"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lindt%2Fdocker-dmd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lindt%2Fdocker-dmd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lindt%2Fdocker-dmd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lindt%2Fdocker-dmd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lindt","download_url":"https://codeload.github.com/lindt/docker-dmd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052619,"owners_count":20553161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compiler","dlang","dmd","docker"],"created_at":"2024-10-11T03:14:02.822Z","updated_at":"2025-03-23T03:32:32.941Z","avatar_url":"https://github.com/lindt.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Docker pulls](https://img.shields.io/docker/pulls/dlanguage/dmd.svg)](https://hub.docker.com/r/dlanguage/dmd/)\n[![Docker Build](https://img.shields.io/docker/automated/dlanguage/dmd.svg)](https://hub.docker.com/r/dlanguage/dmd/)\n[![Latest Tag](https://img.shields.io/github/tag/lindt/docker-dmd.svg)](https://hub.docker.com/r/dlanguage/dmd/)\n\n# docker-dmd\n\nDocker Image for DMD the Digital Mars [D](http://dlang.org) Compiler.\n\n## Motivation\n\nInstallation 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.\n\nIn case a native installation is required, `curl -fsS https://dlang.org/install.sh | bash -s dmd` could be used.\n\n## Other Compilers\n\nAllows to use all major D Compilers without installation.\n\n| Compiler | Latest Tag |\n| -------- | ---------- |\n| DMD      | [![Latest Tag](https://img.shields.io/github/tag/lindt/docker-dmd.svg)](https://hub.docker.com/r/dlanguage/dmd/) |\n| LDC      | [![Latest Tag](https://img.shields.io/github/tag/lindt/docker-ldc.svg)](https://hub.docker.com/r/dlanguage/ldc/) |\n| GDC      | [![Latest Tag](https://img.shields.io/github/tag/lindt/docker-gdc.svg)](https://hub.docker.com/r/dlanguage/gdc/) |\n\n## Usage\n\nPlace a `test.d` in your current directory.\n```\nimport std.stdio;\n\nvoid main() {\n    writeln(\"Hello, World!\");\n}\n```\n\nThen execute\n```sh\ndocker run --rm -ti -v $(pwd):/src dlanguage/dmd dmd -run test.d\n```\n\nThis should plot:\n```\nHello, World!\n```\n\nIf you are too lazy to create a file, you can compile directly from stdin:\n\n```sh\necho 'void main(){import std.stdio; writeln(\"Hello World\");}' | docker run --rm -i -v $(pwd):/src dlanguage/dmd dmd -run -\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flindt%2Fdocker-dmd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flindt%2Fdocker-dmd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flindt%2Fdocker-dmd/lists"}