Add Erlang (#2)
This commit is contained in:
commit
468eff1cfa
2 changed files with 7 additions and 0 deletions
4
languages/erlang/Dockerfile
Normal file
4
languages/erlang/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM erlang:alpine
|
||||||
|
LABEL author="1Computer1"
|
||||||
|
|
||||||
|
COPY run.sh /var/run/
|
3
languages/erlang/run.sh
Normal file
3
languages/erlang/run.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
echo "%% -*- erlang -*-" > program.erl
|
||||||
|
printf %s "$1" >> program.erl
|
||||||
|
escript program.erl || true
|
Loading…
Reference in a new issue