We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 041e65a commit 810e278Copy full SHA for 810e278
docker/Dockerfile
@@ -10,7 +10,11 @@ RUN echo " ... installing python and git ..." \
10
&& pip3 install virtualenv \
11
&& apk --update add git build-base \
12
&& rm -r /root/.cache \
13
- && ln -s /usr/bin/python3 /usr/bin/python
+ && ln -s /usr/bin/python3 /usr/bin/python \
14
+ && apk del gcc g++ build-base make \
15
+ && rm -fr /usr/share /usr/libexec/gcc \
16
+ && rm -fr /var/cache/apk \
17
+ && find /usr/ -name '*pycache*' -exec rm -fr {} +;
18
19
ENV PROJECT_DIR /usr/local/pyenv
20
RUN mkdir -p ${PROJECT_DIR}/conf
0 commit comments