Add dlang image

This commit is contained in:
Manuel 2021-05-12 07:43:19 +02:00
parent c186ecf521
commit 26e49b3db5
Signed by: SunRed
GPG Key ID: 4085037435E1F07A
2 changed files with 8 additions and 0 deletions

6
languages/d/Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM alpine
LABEL author="SunRed"
RUN apk add --no-cache musl-dev gcc ldc
COPY run.sh /var/run/

2
languages/d/run.sh Normal file
View File

@ -0,0 +1,2 @@
cat > program.d
ldc2 program.d -of program && ./program