diff --git a/pod/Dockerfile.rhel b/pod/Dockerfile.rhel index eb1609758..d6606f6c9 100644 --- a/pod/Dockerfile.rhel +++ b/pod/Dockerfile.rhel @@ -1,9 +1,9 @@ -FROM registry.svc.ci.openshift.org/ocp/builder:golang-1.10 AS builder +FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-golang-openshift-4.6 AS builder WORKDIR /go/src/github.com/openshift/images COPY . . RUN CGO_ENABLED=0 go build -installsuffix=cgo -o pod/bin/pod ./pod -FROM registry.svc.ci.openshift.org/ocp/4.0:base +FROM registry.svc.ci.openshift.org/ocp/4.6:base COPY --from=builder /go/src/github.com/openshift/images/pod/bin/pod /usr/bin/ LABEL io.k8s.display-name="OpenShift Pod" \ io.k8s.description="This is a component of OpenShift and contains the binary that holds the pod namespaces." \