Add OCaml
This commit is contained in:
parent
9269d30595
commit
7106c3f5ac
4 changed files with 18 additions and 0 deletions
4
docker/ocaml/Dockerfile
Normal file
4
docker/ocaml/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
|||
FROM frolvlad/alpine-ocaml
|
||||
LABEL author="1Computer1"
|
||||
|
||||
COPY run.sh /var/run/
|
2
docker/ocaml/run.sh
Normal file
2
docker/ocaml/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
echo "$1" > program.ml
|
||||
ocamlopt -cclib --static -o program program.ml && ./program
|
Loading…
Add table
Add a link
Reference in a new issue