From 26e49b3db531be6a32100ff069f3a83e5b33308d Mon Sep 17 00:00:00 2001 From: Manuel Date: Wed, 12 May 2021 07:43:19 +0200 Subject: [PATCH] Add dlang image --- languages/d/Dockerfile | 6 ++++++ languages/d/run.sh | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 languages/d/Dockerfile create mode 100644 languages/d/run.sh diff --git a/languages/d/Dockerfile b/languages/d/Dockerfile new file mode 100644 index 0000000..4bb50e1 --- /dev/null +++ b/languages/d/Dockerfile @@ -0,0 +1,6 @@ +FROM alpine +LABEL author="SunRed" + +RUN apk add --no-cache musl-dev gcc ldc + +COPY run.sh /var/run/ diff --git a/languages/d/run.sh b/languages/d/run.sh new file mode 100644 index 0000000..ae18bab --- /dev/null +++ b/languages/d/run.sh @@ -0,0 +1,2 @@ +cat > program.d +ldc2 program.d -of program && ./program