11# This Dockerfile builds an image containing Mac and Linux/AMD64 versions of
22# the installer layered on top of the cluster-native Linux installer image.
33
4- FROM registry.ci.openshift.org/ocp/4.16 :installer-terraform-providers AS providers
4+ FROM registry.ci.openshift.org/ocp/4.17 :installer-terraform-providers AS providers
55# We copy from the -artifacts images because they are statically linked
6- FROM registry.ci.openshift.org/ocp/4.16 :installer-kube-apiserver-artifacts AS kas-artifacts
7- FROM registry.ci.openshift.org/ocp/4.16 :installer-etcd-artifacts AS etcd-artifacts
6+ FROM registry.ci.openshift.org/ocp/4.17 :installer-kube-apiserver-artifacts AS kas-artifacts
7+ FROM registry.ci.openshift.org/ocp/4.17 :installer-etcd-artifacts AS etcd-artifacts
88
99# FIPS support is offered via the baremetal-installer image
1010
11- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS macbuilder
11+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.17 AS macbuilder
1212ENV GO_COMPLIANCE_EXCLUDE=".*"
1313ARG TAGS=""
1414WORKDIR /go/src/github.com/openshift/installer
@@ -18,7 +18,7 @@ COPY --from=kas-artifacts /usr/share/openshift/darwin/amd64 cluster-api/bin/darw
1818COPY --from=etcd-artifacts /usr/share/openshift/darwin/amd64 cluster-api/bin/darwin_amd64
1919RUN GOOS=darwin GOARCH=amd64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
2020
21- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS macarmbuilder
21+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.17 AS macarmbuilder
2222ENV GO_COMPLIANCE_EXCLUDE=".*"
2323ARG TAGS=""
2424WORKDIR /go/src/github.com/openshift/installer
@@ -28,7 +28,7 @@ COPY --from=kas-artifacts /usr/share/openshift/darwin/arm64 cluster-api/bin/darw
2828COPY --from=etcd-artifacts /usr/share/openshift/darwin/arm64 cluster-api/bin/darwin_arm64
2929RUN GOOS=darwin GOARCH=arm64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
3030
31- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS linuxbuilder
31+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.17 AS linuxbuilder
3232ENV GO_COMPLIANCE_EXCLUDE=".*"
3333ARG TAGS=""
3434WORKDIR /go/src/github.com/openshift/installer
@@ -38,7 +38,7 @@ COPY --from=kas-artifacts /usr/share/openshift/linux/amd64 cluster-api/bin/linux
3838COPY --from=etcd-artifacts /usr/share/openshift/linux/amd64 cluster-api/bin/linux_amd64
3939RUN GOOS=linux GOARCH=amd64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
4040
41- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS linuxarmbuilder
41+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.17 AS linuxarmbuilder
4242ENV GO_COMPLIANCE_EXCLUDE=".*"
4343ARG TAGS=""
4444WORKDIR /go/src/github.com/openshift/installer
@@ -48,14 +48,14 @@ COPY --from=kas-artifacts /usr/share/openshift/linux/arm64 cluster-api/bin/linux
4848COPY --from=etcd-artifacts /usr/share/openshift/linux/arm64 cluster-api/bin/linux_arm64
4949RUN GOOS=linux GOARCH=arm64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
5050
51- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.16 AS builder
51+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.21-openshift-4.17 AS builder
5252ENV GO_COMPLIANCE_EXCLUDE=".*"
5353ARG TAGS=""
5454WORKDIR /go/src/github.com/openshift/installer
5555COPY . .
5656RUN go run -mod=vendor hack/build-coreos-manifest.go
5757
58- FROM registry.ci.openshift.org/ocp/4.16 :base-rhel9
58+ FROM registry.ci.openshift.org/ocp/4.17 :base-rhel9
5959COPY --from=macbuilder /go/src/github.com/openshift/installer/bin/openshift-install /usr/share/openshift/mac/openshift-install
6060COPY --from=macarmbuilder /go/src/github.com/openshift/installer/bin/openshift-install /usr/share/openshift/mac_arm64/openshift-install
6161COPY --from=linuxbuilder /go/src/github.com/openshift/installer/bin/openshift-install /usr/share/openshift/linux_amd64/openshift-install
0 commit comments