mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-26 00:38:37 +00:00
add python
This commit is contained in:
parent
f3a81b506a
commit
c0c55ecba7
12
python/python2/Dockerfile
Normal file
12
python/python2/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for python2
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine
|
||||||
|
MAINTAINER kev <noreply@datageek.info>
|
||||||
|
|
||||||
|
RUN apk add -U curl python \
|
||||||
|
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python \
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
CMD ["python"]
|
12
python/python3/Dockerfile
Normal file
12
python/python3/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for python3
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM alpine
|
||||||
|
MAINTAINER kev <noreply@datageek.info>
|
||||||
|
|
||||||
|
RUN apk add -U curl python3 \
|
||||||
|
&& curl -sSL https://bootstrap.pypa.io/get-pip.py | python3 \
|
||||||
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
CMD ["python3"]
|
Loading…
Reference in New Issue
Block a user