mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-03 13:21:49 +02: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…
x
Reference in New Issue
Block a user