Add docker image for executing Idris

This commit is contained in:
vzwGrey 2019-07-22 00:53:23 +02:00
parent 348054a994
commit 5922160290
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,7 @@
FROM alpine:edge
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