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