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.23 -openshift-4.19 AS macbuilder
4+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25 -openshift-4.22 AS macbuilder
55
66ENV GO_COMPLIANCE_EXCLUDE=".*"
77COPY $REMOTE_SOURCES $REMOTE_SOURCES_DIR
@@ -15,7 +15,7 @@ RUN source $REMOTE_SOURCES_DIR/cachito-gomod-with-deps/cachito.env \
1515 && export GOFLAGS='-mod=readonly' && export GO_BUILD_FLAGS='-v' \
1616 && CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 ./build.sh
1717
18- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23 -openshift-4.19 AS macarmbuilder
18+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25 -openshift-4.22 AS macarmbuilder
1919
2020ENV GO_COMPLIANCE_EXCLUDE=".*"
2121COPY $REMOTE_SOURCES $REMOTE_SOURCES_DIR
@@ -29,7 +29,7 @@ RUN source $REMOTE_SOURCES_DIR/cachito-gomod-with-deps/cachito.env \
2929 && export GOFLAGS='-mod=readonly' && export GO_BUILD_FLAGS='-v' \
3030 && CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 ./build.sh
3131
32- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23 -openshift-4.19 AS linuxbuilder
32+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25 -openshift-4.22 AS linuxbuilder
3333
3434ENV GO_COMPLIANCE_EXCLUDE=".*"
3535COPY $REMOTE_SOURCES $REMOTE_SOURCES_DIR
@@ -43,7 +43,7 @@ RUN source $REMOTE_SOURCES_DIR/cachito-gomod-with-deps/cachito.env \
4343 && export GOFLAGS='-mod=readonly' && export GO_BUILD_FLAGS='-v' \
4444 && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ./build.sh
4545
46- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23 -openshift-4.19 AS linuxarmbuilder
46+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25 -openshift-4.22 AS linuxarmbuilder
4747
4848ENV GO_COMPLIANCE_EXCLUDE=".*"
4949COPY $REMOTE_SOURCES $REMOTE_SOURCES_DIR
@@ -57,7 +57,7 @@ RUN source $REMOTE_SOURCES_DIR/cachito-gomod-with-deps/cachito.env \
5757 && export GOFLAGS='-mod=readonly' && export GO_BUILD_FLAGS='-v' \
5858 && CGO_ENABLED=0 GOOS=linux GOARCH=arm64 ./build.sh
5959
60- FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23 -openshift-4.19 AS builder
60+ FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.25 -openshift-4.22 AS builder
6161ENV GO_COMPLIANCE_EXCLUDE=".*"
6262COPY $REMOTE_SOURCES $REMOTE_SOURCES_DIR
6363WORKDIR $REMOTE_SOURCES_DIR/cachito-gomod-with-deps/app
@@ -73,7 +73,7 @@ RUN mkdir -p /usr/share/openshift/$(go env GOOS)/$(go env GOHOSTARCH) && \
7373 mv bin/etcd /usr/share/openshift/$(go env GOOS)/$(go env GOHOSTARCH)/
7474
7575# stage 2
76- FROM registry.ci.openshift.org/ocp/4.18 :base-rhel9
76+ FROM registry.ci.openshift.org/ocp/4.22 :base-rhel9
7777
7878RUN yum install --setopt=tsflags=nodocs -y jq && yum clean all && rm -rf /var/cache/yum/*
7979
0 commit comments