|
1 | 1 | # This Dockerfile builds an image containing Mac and Linux/AMD64 versions of |
2 | 2 | # the installer layered on top of the cluster-native Linux installer image. |
3 | 3 |
|
4 | | -FROM registry.ci.openshift.org/ocp/4.15:installer-terraform-providers as providers |
| 4 | +FROM registry.ci.openshift.org/ocp/4.16:installer-terraform-providers AS providers |
5 | 5 |
|
6 | | -FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS macbuilder |
| 6 | +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.16 AS macbuilder |
7 | 7 | ARG TAGS="" |
8 | 8 | WORKDIR /go/src/github.com/openshift/installer |
9 | 9 | COPY . . |
10 | 10 | COPY --from=providers /go/src/github.com/openshift/installer/terraform/bin/darwin_amd64 terraform/bin/darwin_amd64 |
11 | 11 | RUN GOOS=darwin GOARCH=amd64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh |
12 | 12 |
|
13 | | -FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS macarmbuilder |
| 13 | +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.16 AS macarmbuilder |
14 | 14 | ARG TAGS="" |
15 | 15 | WORKDIR /go/src/github.com/openshift/installer |
16 | 16 | COPY . . |
17 | 17 | COPY --from=providers /go/src/github.com/openshift/installer/terraform/bin/darwin_arm64 terraform/bin/darwin_arm64 |
18 | 18 | RUN GOOS=darwin GOARCH=arm64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh |
19 | 19 |
|
20 | | -FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS linuxbuilder |
| 20 | +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.16 AS linuxbuilder |
21 | 21 | ARG TAGS="" |
22 | 22 | WORKDIR /go/src/github.com/openshift/installer |
23 | 23 | COPY . . |
24 | 24 | COPY --from=providers /go/src/github.com/openshift/installer/terraform/bin/linux_amd64 terraform/bin/linux_amd64 |
25 | 25 | RUN GOOS=linux GOARCH=amd64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh |
26 | 26 |
|
27 | | -FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS linuxarmbuilder |
| 27 | +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.16 AS linuxarmbuilder |
28 | 28 | ARG TAGS="" |
29 | 29 | WORKDIR /go/src/github.com/openshift/installer |
30 | 30 | COPY . . |
31 | 31 | COPY --from=providers /go/src/github.com/openshift/installer/terraform/bin/linux_arm64 terraform/bin/linux_arm64 |
32 | 32 | RUN GOOS=linux GOARCH=arm64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh |
33 | 33 |
|
34 | | -FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS builder |
| 34 | +FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.16 AS builder |
35 | 35 | ARG TAGS="" |
36 | 36 | WORKDIR /go/src/github.com/openshift/installer |
37 | 37 | COPY . . |
38 | 38 | RUN go run -mod=vendor hack/build-coreos-manifest.go |
39 | 39 |
|
40 | | -FROM registry.ci.openshift.org/ocp/4.15:base |
| 40 | +FROM registry.ci.openshift.org/ocp/4.16:base |
41 | 41 | COPY --from=macbuilder /go/src/github.com/openshift/installer/bin/openshift-install /usr/share/openshift/mac/openshift-install |
42 | 42 | COPY --from=macarmbuilder /go/src/github.com/openshift/installer/bin/openshift-install /usr/share/openshift/mac_arm64/openshift-install |
43 | 43 | COPY --from=linuxbuilder /go/src/github.com/openshift/installer/bin/openshift-install /usr/share/openshift/linux_amd64/openshift-install |
|
0 commit comments