Remove unnecessary build step (#1003)

The builder image does not need to cleanup itself, 
the whole purpose of it is to be dropped after the final artifacts are copied out.
This commit is contained in:
Andreas Dirnberger 2021-10-30 21:29:23 +02:00 committed by GitHub
parent b8ee91ab9a
commit 46e51f16cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,14 +65,6 @@ RUN mkdir -p /app && \
mkdir -p /app/configs && \
cp -r /build/configs/docker_config.py /app/configs
# Cleanup
RUN pip install pip-autoremove && \
pip-autoremove cssmin -y && \
pip-autoremove jsmin -y && \
pip-autoremove pytest -y -L packaging && \
pip uninstall -y pip-autoremove && \
apk del ${BUILD_DEPENDENCIES}
# Build image
FROM alpine:3.13