22# the installer layered on top of the cluster-native Linux installer image.
33
44# We copy from the -artifacts images because they are statically linked
5- FROM registry.ci.openshift.org/ocp/4.20 :installer-kube-apiserver-artifacts AS kas-artifacts
6- FROM registry.ci.openshift.org/ocp/4.20 :installer-etcd-artifacts AS etcd-artifacts
5+ FROM registry.ci.openshift.org/ocp/4.21 :installer-kube-apiserver-artifacts AS kas-artifacts
6+ FROM registry.ci.openshift.org/ocp/4.21 :installer-etcd-artifacts AS etcd-artifacts
77
88# FIPS support is offered via the baremetal-installer image
99
10- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS macbuilder
10+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.21 AS macbuilder
1111ENV GO_COMPLIANCE_EXCLUDE=".*"
1212ARG TAGS=""
1313WORKDIR /go/src/github.com/openshift/installer
@@ -16,7 +16,7 @@ COPY --from=kas-artifacts /usr/share/openshift/darwin/amd64 cluster-api/bin/darw
1616COPY --from=etcd-artifacts /usr/share/openshift/darwin/amd64 cluster-api/bin/darwin_amd64
1717RUN GOOS=darwin GOARCH=amd64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
1818
19- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS macarmbuilder
19+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.21 AS macarmbuilder
2020ENV GO_COMPLIANCE_EXCLUDE=".*"
2121ARG TAGS=""
2222WORKDIR /go/src/github.com/openshift/installer
@@ -25,7 +25,7 @@ COPY --from=kas-artifacts /usr/share/openshift/darwin/arm64 cluster-api/bin/darw
2525COPY --from=etcd-artifacts /usr/share/openshift/darwin/arm64 cluster-api/bin/darwin_arm64
2626RUN GOOS=darwin GOARCH=arm64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
2727
28- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS linuxbuilder
28+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.21 AS linuxbuilder
2929ENV GO_COMPLIANCE_EXCLUDE=".*"
3030ARG TAGS=""
3131WORKDIR /go/src/github.com/openshift/installer
@@ -34,7 +34,7 @@ COPY --from=kas-artifacts /usr/share/openshift/linux/amd64 cluster-api/bin/linux
3434COPY --from=etcd-artifacts /usr/share/openshift/linux/amd64 cluster-api/bin/linux_amd64
3535RUN GOOS=linux GOARCH=amd64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
3636
37- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS linuxarmbuilder
37+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.21 AS linuxarmbuilder
3838ENV GO_COMPLIANCE_EXCLUDE=".*"
3939ARG TAGS=""
4040ARG SKIP_ENVTEST="y"
@@ -44,14 +44,14 @@ COPY --from=kas-artifacts /usr/share/openshift/linux/arm64 cluster-api/bin/linux
4444COPY --from=etcd-artifacts /usr/share/openshift/linux/arm64 cluster-api/bin/linux_arm64
4545RUN GOOS=linux GOARCH=arm64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
4646
47- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS builder
47+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.21 AS builder
4848ENV GO_COMPLIANCE_EXCLUDE=".*"
4949ARG TAGS=""
5050WORKDIR /go/src/github.com/openshift/installer
5151COPY . .
5252RUN go run -mod=vendor hack/build-coreos-manifest.go
5353
54- FROM registry.ci.openshift.org/ocp/4.20 :base-rhel9
54+ FROM registry.ci.openshift.org/ocp/4.21 :base-rhel9
5555COPY --from=macbuilder /go/src/github.com/openshift/installer/bin/openshift-install /usr/share/openshift/mac/openshift-install
5656COPY --from=macarmbuilder /go/src/github.com/openshift/installer/bin/openshift-install /usr/share/openshift/mac_arm64/openshift-install
5757COPY --from=linuxbuilder /go/src/github.com/openshift/installer/bin/openshift-install /usr/share/openshift/linux_amd64/openshift-install
0 commit comments