diff options
author | Clark Boylan <clark.boylan@gmail.com> | 2020-05-13 10:45:25 -0700 |
---|---|---|
committer | Clark Boylan <clark.boylan@gmail.com> | 2020-05-13 10:45:25 -0700 |
commit | 9220d41e9ec621ebf9d91c96a54e2062f2696b6e (patch) | |
tree | 4ae63c8f150e7fcee67d09bc3f56cb85c40bf5d0 /Dockerfile | |
parent | 95d7ebb37009ec94b9d3b0f4fd03380cb90d8989 (diff) | |
download | zuul-9220d41e9ec621ebf9d91c96a54e2062f2696b6e.tar.gz |
Specifically use python 3.7 base images
We are consuming OpenDev's default python-builder and python-base images
which happen to be python3.7 today. Zuul specifically wants python3.7 so
we should explicitly use OpenDev's 3.7 tags of these images. This way if
OpenDev updates the default to 3.8 zuul can continue to assert its
dependency on 3.7.
Change-Id: I1f344eccfddff9bf1050c571604038371eec1a3f
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 45419c6c8..e1a30d5b3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM docker.io/opendevorg/python-builder as builder +FROM docker.io/opendevorg/python-builder:3.7 as builder # Optional location of Zuul API endpoint. ARG REACT_APP_ZUUL_API @@ -39,7 +39,7 @@ RUN mkdir /tmp/openshift-install \ && echo $OPENSHIFT_SHA /tmp/openshift-install/openshift-client.tgz | sha256sum --check \ && tar xvfz openshift-client.tgz --strip-components=1 -C /tmp/openshift-install -FROM docker.io/opendevorg/python-base as zuul +FROM docker.io/opendevorg/python-base:3.7 as zuul COPY --from=builder /output/ /output RUN /output/install-from-bindep \ |