diff --git a/Dockerfile.ocp b/Dockerfile.ocp index fa5a17b5bda..614bb01a97b 100644 --- a/Dockerfile.ocp +++ b/Dockerfile.ocp @@ -1,4 +1,4 @@ -FROM registry.svc.ci.openshift.org/openshift/release:golang-1.14 AS builder +FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-golang-openshift-4.6 AS builder WORKDIR /go/src/github.com/prometheus/prometheus COPY . . # NOTE(spasquie): the 'build' target regenerates the ReactJS code and the Go @@ -9,7 +9,7 @@ COPY . . # should be committed to the repository. RUN if yum install -y prometheus-promu; then export BUILD_PROMU=false; fi && make common-build -FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base +FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-base-openshift-4.6 LABEL io.k8s.display-name="OpenShift Prometheus" \ io.k8s.description="The Prometheus monitoring system and time series database." \ io.openshift.tags="prometheus,monitoring" \