Add dlang image
This commit is contained in:
parent
c186ecf521
commit
26e49b3db5
2 changed files with 8 additions and 0 deletions
6
languages/d/Dockerfile
Normal file
6
languages/d/Dockerfile
Normal 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
2
languages/d/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
cat > program.d
|
||||||
|
ldc2 program.d -of program && ./program
|
Loading…
Reference in a new issue