Skip to content

Commit 810e278

Browse files
committed
Reduced version
1 parent 041e65a commit 810e278

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docker/Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ RUN echo " ... installing python and git ..." \
1010
&& pip3 install virtualenv \
1111
&& apk --update add git build-base \
1212
&& rm -r /root/.cache \
13-
&& ln -s /usr/bin/python3 /usr/bin/python
13+
&& 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 {} +;
1418

1519
ENV PROJECT_DIR /usr/local/pyenv
1620
RUN mkdir -p ${PROJECT_DIR}/conf

0 commit comments

Comments
 (0)