uwsgi-base: drop packages.txt
When we're building an image that is based off uwsgi-base, the packages.txt file remains from the previous run which means that it only install uWSGI again and not the package we're trying to build. Change-Id: Ic71c47d53566b4ea79e03d19fd355c5c71a62802
This commit is contained in:
parent
254a4eb9f9
commit
7cd63aaded
@ -22,7 +22,8 @@ RUN assemble uWSGI
|
||||
FROM docker.io/opendevorg/python-base:${PYTHON_VERSION}
|
||||
|
||||
COPY --from=builder /output/ /output
|
||||
RUN /output/install-from-bindep
|
||||
RUN /output/install-from-bindep && \
|
||||
rm -rfv /output/packages.txt
|
||||
|
||||
ENV UWSGI_MASTER=1 UWSGI_UID=nobody UWSGI_GID=nogroup
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user