Add image for running erlang scripts

This commit is contained in:
vzwGrey 2019-10-01 13:18:22 +02:00
parent 56c58cad90
commit 2fe7b581a7
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,4 @@
FROM erlang:alpine
LABEL author="1Computer1"
COPY run.sh /var/run/

3
languages/erlang/run.sh Normal file
View File

@ -0,0 +1,3 @@
echo "%% -*- erlang -*-" > program.erl
printf %s "$1" >> program.erl
escript program.erl || true