Add ability for multiple compilers; add Python2
This commit is contained in:
parent
318a485bfb
commit
2dd50d8069
6 changed files with 33 additions and 7 deletions
8
docker/python2/Dockerfile
Normal file
8
docker/python2/Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM alpine
|
||||
LABEL author="1Computer1"
|
||||
|
||||
RUN apk update
|
||||
RUN apk add build-base python2
|
||||
|
||||
COPY run.sh /var/run/
|
||||
WORKDIR /var/ws
|
2
docker/python2/run.sh
Normal file
2
docker/python2/run.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
echo "$1" > program.py
|
||||
python program.py
|
Loading…
Add table
Add a link
Reference in a new issue