From 6f2bd7808eb6b74e2c07b11fbd5d885c0ebc175f Mon Sep 17 00:00:00 2001 From: Ivan Kolodyazhny Date: Fri, 4 Feb 2022 16:32:17 +0200 Subject: [PATCH] Update base images to CentOS 8 Stream PR #223 updated base images to CentOS 8 which is EOL now so we can't build new images using it. Closes: #239 --- Dockerfile | 2 +- Dockerfile.sriov-network-config-daemon | 2 +- Dockerfile.webhook | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 16b7c20c4..6ec247dba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator COPY . . RUN make _build-manager BIN_PATH=build/_output/cmd -FROM centos:8 +FROM quay.io/centos/centos:stream8 COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/manager /usr/bin/sriov-network-operator COPY bindata /bindata ENV OPERATOR_NAME=sriov-network-operator diff --git a/Dockerfile.sriov-network-config-daemon b/Dockerfile.sriov-network-config-daemon index 179f98a88..4375d6daa 100644 --- a/Dockerfile.sriov-network-config-daemon +++ b/Dockerfile.sriov-network-config-daemon @@ -4,7 +4,7 @@ COPY . . RUN make _build-sriov-network-config-daemon BIN_PATH=build/_output/cmd RUN make plugins BIN_PATH=build/_output/pkg -FROM centos:8 +FROM quay.io/centos/centos:stream8 ARG MSTFLINT=mstflint RUN yum -y update && ARCH_DEP_PKGS=$(if [ "$(uname -m)" != "s390x" ]; then echo -n ${MSTFLINT} ; fi) && yum -y install hwdata $ARCH_DEP_PKGS && yum clean all LABEL io.k8s.display-name="sriov-network-config-daemon" \ diff --git a/Dockerfile.webhook b/Dockerfile.webhook index d26fc3e40..cd862cb79 100644 --- a/Dockerfile.webhook +++ b/Dockerfile.webhook @@ -3,7 +3,7 @@ WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator COPY . . RUN make _build-webhook BIN_PATH=build/_output/cmd -FROM centos:8 +FROM quay.io/centos/centos:stream8 LABEL io.k8s.display-name="sriov-network-webhook" \ io.k8s.description="This is an admission controller webhook that mutates and validates customer resources of sriov network operator." COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/webhook /usr/bin/webhook