add Nim and R support
This commit is contained in:
parent
4d9dff0b9a
commit
d1720c42e4
4 changed files with 12 additions and 0 deletions
4
languages/nim/Dockerfile
Normal file
4
languages/nim/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM nimlang/nim:alpine
|
||||||
|
LABEL author="1Computer1"
|
||||||
|
|
||||||
|
COPY run.sh /var/run/
|
2
languages/nim/run.sh
Normal file
2
languages/nim/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
cat > program.nim
|
||||||
|
nim compile --run --colors=off --memTracker=off --verbosity=0 --hints=off --nimcache:/tmp/"$CODEDIR"/cache ./program.nim || true
|
4
languages/r/Dockerfile
Normal file
4
languages/r/Dockerfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FROM r-base
|
||||||
|
LABEL author="1Computer1"
|
||||||
|
|
||||||
|
COPY run.sh /var/run/
|
2
languages/r/run.sh
Normal file
2
languages/r/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
cat > program.R
|
||||||
|
Rscript program.R || true
|
Loading…
Reference in a new issue