You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-11-29 22:38:35 +02:00
add python
This commit is contained in:
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"]
|
||||||
Reference in New Issue
Block a user