Reorder the copy in the python-builder builder image
It really doesn't actually matter, but if we do the apt-get install before the COPY, it can increase the caching efficiency by a billionth of a percent. Depends-On: https://review.openstack.org/632528 Change-Id: I875812c956af1c4739e0986d267a47652bb5e6f3
This commit is contained in:
parent
f731bac396
commit
b78d2f8ed6
@ -15,9 +15,9 @@
|
||||
|
||||
FROM python:slim as fake-python
|
||||
|
||||
COPY python3-dev.control /tmp/python3-dev.control
|
||||
WORKDIR /tmp
|
||||
RUN apt-get update && apt-get install -y equivs
|
||||
COPY python3-dev.control /tmp/python3-dev.control
|
||||
RUN equivs-build /tmp/python3-dev.control
|
||||
|
||||
FROM python:slim as python-builder
|
||||
|
Loading…
x
Reference in New Issue
Block a user