1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00

add python

This commit is contained in:
kev 2015-08-07 17:11:31 +08:00
parent f3a81b506a
commit c0c55ecba7
2 changed files with 24 additions and 0 deletions

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

@ -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"]