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:
Monty Taylor 2019-01-22 19:03:07 +00:00
parent f731bac396
commit b78d2f8ed6
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 1 additions and 1 deletions

View File

@ -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