diff --git a/build/pause/Dockerfile.Rhel b/build/pause/Dockerfile.Rhel index 1064e93a9d352..b7c51e440232e 100644 --- a/build/pause/Dockerfile.Rhel +++ b/build/pause/Dockerfile.Rhel @@ -1,11 +1,11 @@ -FROM registry.ci.openshift.org/ocp/builder:ubi8.art AS builder +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.16-openshift-4.8 AS builder WORKDIR /go/src/github.com/openshift/kubernetes/build/pause COPY . . RUN dnf install -y gcc glibc-static && \ mkdir -p bin && \ gcc -Os -Wall -Werror -static -o bin/pause ./linux/pause.c -FROM scratch +FROM registry.ci.openshift.org/ocp/4.8:base COPY --from=builder /go/src/github.com/openshift/kubernetes/build/pause/bin/pause /usr/bin/pod 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." \