Initial commit
This commit is contained in:
commit
07ec57a453
27 changed files with 1853 additions and 0 deletions
10
docker/haskell/Dockerfile
Normal file
10
docker/haskell/Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM alpine
|
||||
LABEL author="1Computer1"
|
||||
|
||||
RUN apk update
|
||||
RUN apk add build-base wget ghc cabal
|
||||
RUN cabal update
|
||||
RUN cabal install aeson async attoparsec integer-logarithms megaparsec random scientific split vector
|
||||
|
||||
COPY run.sh /var/run/
|
||||
WORKDIR /var/ws
|
2
docker/haskell/run.sh
Normal file
2
docker/haskell/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
echo "$1" > program.hs
|
||||
ghc -O0 -j +RTS -A128m -n2m -RTS program.hs >/dev/null && ./program
|
9
docker/javascript/Dockerfile
Normal file
9
docker/javascript/Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM alpine
|
||||
LABEL author="1Computer1"
|
||||
|
||||
RUN apk update
|
||||
RUN apk add nodejs npm
|
||||
RUN npm i lodash moment cheerio
|
||||
|
||||
COPY run.sh /var/run/
|
||||
WORKDIR /var/ws
|
5
docker/javascript/run.sh
Normal file
5
docker/javascript/run.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
if [ "$EVAL_HARMONY" = "true" ]; then
|
||||
node --harmony -e "$1"
|
||||
else
|
||||
node -e "$1"
|
||||
fi
|
10
docker/python/Dockerfile
Normal file
10
docker/python/Dockerfile
Normal file
|
@ -0,0 +1,10 @@
|
|||
FROM alpine
|
||||
LABEL author="1Computer1"
|
||||
|
||||
RUN apk update
|
||||
RUN apk add build-base python3 python3-dev
|
||||
RUN python3 -m pip install -U pip
|
||||
RUN python3 -m pip install -U numpy
|
||||
|
||||
COPY run.sh /var/run/
|
||||
WORKDIR /var/ws
|
2
docker/python/run.sh
Normal file
2
docker/python/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
echo "$1" > program.py
|
||||
python3 program.py
|
Loading…
Add table
Add a link
Reference in a new issue