Add ArnoldC image

This commit is contained in:
Manuel 2021-05-12 07:48:28 +02:00
parent 50e1a663c8
commit 2a9afa5b25
Signed by: Manuel
GPG key ID: 4085037435E1F07A
2 changed files with 11 additions and 0 deletions

View file

@ -0,0 +1,9 @@
FROM openjdk:17-alpine
LABEL author="SunRed"
RUN apk add --no-cache curl && \
curl -O http://lhartikk.github.io/ArnoldC.jar && \
mv ArnoldC.jar /var/run && \
apk del --no-cache curl
COPY run.sh /var/run/

2
languages/arnoldc/run.sh Normal file
View file

@ -0,0 +1,2 @@
cat > program.arnoldc
java -jar /var/run/ArnoldC.jar program.arnoldc && java program