Add ArnoldC image
This commit is contained in:
parent
50e1a663c8
commit
2a9afa5b25
2 changed files with 11 additions and 0 deletions
9
languages/arnoldc/Dockerfile
Normal file
9
languages/arnoldc/Dockerfile
Normal 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
2
languages/arnoldc/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
cat > program.arnoldc
|
||||
java -jar /var/run/ArnoldC.jar program.arnoldc && java program
|
Loading…
Reference in a new issue