Add Idris
Add docker image for executing Idris
This commit is contained in:
commit
abbce96d0a
2 changed files with 9 additions and 0 deletions
7
languages/idris/Dockerfile
Normal file
7
languages/idris/Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
FROM alpine:latest
|
||||||
|
|
||||||
|
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
|
||||||
|
apk update && \
|
||||||
|
apk add idris@testing
|
||||||
|
|
||||||
|
COPY run.sh /var/run/
|
2
languages/idris/run.sh
Normal file
2
languages/idris/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
printf %s "$1" > Main.idr
|
||||||
|
idris --execute ./Main.idr || true
|
Loading…
Reference in a new issue