fix Dockerfile
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
FROM alpine:3.4
|
||||
|
||||
RUN apk add --no-cache python3 python3-dev alpine-sdk zlib-dev libffi-dev openssl-dev && \
|
||||
RUN \
|
||||
apk add --no-cache python3 python3-dev alpine-sdk zlib-dev libffi-dev openssl-dev && \
|
||||
python3 -m ensurepip && \
|
||||
rm -r /usr/lib/python*/ensurepip && \
|
||||
# compile gevent
|
||||
pip3 install --upgrade pip setuptools gevent && \
|
||||
# cleanup
|
||||
apk del python3-dev alpine-sdk zlib-dev libffi-dev openssl-dev && \
|
||||
rm -rf /var/cache/apk/* /root/.cache /tmp/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user