summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-05-13 19:19:49 +0000
committerGerrit Code Review <review@openstack.org>2020-05-13 19:19:49 +0000
commit81986bf2ec41dd2acd8b063530f55acfa1fca60c (patch)
tree98b37bcd9f0d87c688dfcdde8f1116961818dd53
parentf5942c93badbe00ef2314620adc00b21b04cbe52 (diff)
parent9220d41e9ec621ebf9d91c96a54e2062f2696b6e (diff)
downloadzuul-81986bf2ec41dd2acd8b063530f55acfa1fca60c.tar.gz
Merge "Specifically use python 3.7 base images"
-rw-r--r--.zuul.yaml8
-rw-r--r--Dockerfile4
2 files changed, 6 insertions, 6 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 3084e68fb..913d34965 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -130,8 +130,8 @@
allowed-projects: zuul/zuul
timeout: 2700 # 45 minutes
requires:
- - python-builder-container-image
- - python-base-container-image
+ - python-builder-3.7-container-image
+ - python-base-3.7-container-image
provides: zuul-container-image
vars: &zuul_image_vars
docker_images:
@@ -160,8 +160,8 @@
description: Build Docker images and upload to Docker Hub.
allowed-projects: zuul/zuul
requires:
- - python-builder-container-image
- - python-base-container-image
+ - python-builder-3.7-container-image
+ - python-base-3.7-container-image
provides: zuul-container-image
secrets:
name: docker_credentials
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 \