We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16d7cd4 commit fec7698Copy full SHA for fec7698
2 files changed
python/2/Dockerfile
@@ -3,6 +3,8 @@
3
FROM alpine:3.4
4
MAINTAINER phirov@163.com
5
6
-RUN apk add --no-cache python-dev py-pip g++ && \
+RUN apk add --no-cache python-dev py-pip && \
7
+ apk add --no-cache --virtual .build-deps g++ && \
8
+ apk del .build-deps && \
9
ln -s /usr/include/locale.h /usr/include/xlocale.h && \
10
pip install --upgrade pip
python/3/Dockerfile
-RUN apk add --no-cache python3-dev g++ && \
+RUN apk add --no-cache python3-dev && \
pip3 install --upgrade pip
0 commit comments