From c0c55ecba7b3c12000c9353084a17192b2a4b232 Mon Sep 17 00:00:00 2001 From: kev Date: Fri, 7 Aug 2015 17:11:31 +0800 Subject: [PATCH] add python --- python/python2/Dockerfile | 12 ++++++++++++ python/python3/Dockerfile | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 python/python2/Dockerfile create mode 100644 python/python3/Dockerfile diff --git a/python/python2/Dockerfile b/python/python2/Dockerfile new file mode 100644 index 0000000..5509482 --- /dev/null +++ b/python/python2/Dockerfile @@ -0,0 +1,12 @@ +# +# Dockerfile for python2 +# + +FROM alpine +MAINTAINER kev + +RUN apk add -U curl python \ + && curl -sSL https://bootstrap.pypa.io/get-pip.py | python \ + && rm -rf /var/cache/apk/* + +CMD ["python"] diff --git a/python/python3/Dockerfile b/python/python3/Dockerfile new file mode 100644 index 0000000..30136b7 --- /dev/null +++ b/python/python3/Dockerfile @@ -0,0 +1,12 @@ +# +# Dockerfile for python3 +# + +FROM alpine +MAINTAINER kev + +RUN apk add -U curl python3 \ + && curl -sSL https://bootstrap.pypa.io/get-pip.py | python3 \ + && rm -rf /var/cache/apk/* + +CMD ["python3"]