Add Idris

Add docker image for executing Idris
This commit is contained in:
1Computer1 2019-07-21 18:59:52 -04:00 committed by GitHub
commit abbce96d0a
Signed by: GitHub
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View 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
View file

@ -0,0 +1,2 @@
printf %s "$1" > Main.idr
idris --execute ./Main.idr || true