11# This Dockerfile builds an image containing Mac and Linux ARM64/AMD64 versions of the etcd.
22# The resulting image is used to build the statically-linked openshift-installer binary.
33
4- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-4.23 AS macbuilder
4+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-5.0 AS macbuilder
55
66ENV GO_COMPLIANCE_EXCLUDE=".*"
77
@@ -12,7 +12,7 @@ RUN find $GOPATH
1212RUN export GOFLAGS='-mod=readonly' && export GO_BUILD_FLAGS='-v' \
1313 && CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 ./build.sh
1414
15- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-4.23 AS macarmbuilder
15+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-5.0 AS macarmbuilder
1616
1717ENV GO_COMPLIANCE_EXCLUDE=".*"
1818
@@ -22,7 +22,7 @@ COPY . .
2222RUN export GOFLAGS='-mod=readonly' && export GO_BUILD_FLAGS='-v' \
2323 && CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 ./build.sh
2424
25- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-4.23 AS linuxbuilder
25+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-5.0 AS linuxbuilder
2626
2727ENV GO_COMPLIANCE_EXCLUDE=".*"
2828
@@ -31,7 +31,7 @@ COPY . .
3131RUN export GOFLAGS='-mod=readonly' && export GO_BUILD_FLAGS='-v' \
3232 && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ./build.sh
3333
34- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-4.23 AS linuxarmbuilder
34+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-5.0 AS linuxarmbuilder
3535
3636ENV GO_COMPLIANCE_EXCLUDE=".*"
3737
@@ -40,7 +40,7 @@ COPY . .
4040RUN export GOFLAGS='-mod=readonly' && export GO_BUILD_FLAGS='-v' \
4141 && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 ./build.sh
4242
43- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-4.23 AS builder
43+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25-openshift-5.0 AS builder
4444ENV GO_COMPLIANCE_EXCLUDE=".*"
4545
4646WORKDIR /go/src/go.etcd.io/etcd
@@ -51,7 +51,7 @@ RUN mkdir -p /usr/share/openshift/$(go env GOOS)/$(go env GOHOSTARCH) && \
5151 mv bin/etcd /usr/share/openshift/$(go env GOOS)/$(go env GOHOSTARCH)/
5252
5353# stage 2
54- FROM registry.ci.openshift.org/ocp/4.23 :base-rhel9
54+ FROM registry.ci.openshift.org/ocp/5.0 :base-rhel9
5555
5656RUN yum install --setopt=tsflags=nodocs -y jq && yum clean all && rm -rf /var/cache/yum/*
5757
0 commit comments