File tree Expand file tree Collapse file tree 8 files changed +20
-6
lines changed Expand file tree Collapse file tree 8 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 11# This Dockerfile is a used by CI to publish an installer image
22# It builds an image containing openshift-install.
33
4- FROM registry.ci.openshift.org/ocp/4.16:installer-terraform-providers AS providers
5-
64FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS builder
75ARG TAGS="libvirt baremetal"
86WORKDIR /go/src/github.com/openshift/installer
97COPY . .
10- COPY --from=providers /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/
118RUN DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
129
1310
Original file line number Diff line number Diff line change 1+ # FIPS support is offered via the baremetal-installer image
2+
13FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS macbuilder
4+ ENV GO_COMPLIANCE_EXCLUDE=".*"
25WORKDIR /go/src/github.com/openshift/installer
36COPY . .
47RUN CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 make -C terraform
58
69FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS macarmbuilder
10+ ENV GO_COMPLIANCE_EXCLUDE=".*"
711WORKDIR /go/src/github.com/openshift/installer
812COPY . .
913RUN CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 make -C terraform
1014
1115FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS linuxbuilder
16+ ENV GO_COMPLIANCE_EXCLUDE=".*"
1217WORKDIR /go/src/github.com/openshift/installer
1318COPY . .
1419RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make -C terraform
1520
1621FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS linuxarmbuilder
22+ ENV GO_COMPLIANCE_EXCLUDE=".*"
1723WORKDIR /go/src/github.com/openshift/installer
1824COPY . .
1925RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 make -C terraform
Original file line number Diff line number Diff line change 88# not be needed.
99
1010FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS builder
11+ # FIPS support is offered via the baremetal-installer image
12+ ENV GO_COMPLIANCE_EXCLUDE=".*"
1113ARG TAGS="altinfra"
1214ARG OPENSHIFT_INSTALL_CLUSTER_API=""
1315WORKDIR /go/src/github.com/openshift/installer
Original file line number Diff line number Diff line change 33
44FROM registry.ci.openshift.org/ocp/4.16:installer-terraform-providers AS providers
55
6+ # FIPS support is offered via the baremetal-installer image
7+
68FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS macbuilder
9+ ENV GO_COMPLIANCE_EXCLUDE=".*"
710ARG TAGS=""
811WORKDIR /go/src/github.com/openshift/installer
912COPY . .
1013COPY --from=providers /go/src/github.com/openshift/installer/terraform/bin/darwin_amd64 terraform/bin/darwin_amd64
1114RUN GOOS=darwin GOARCH=amd64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
1215
1316FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS macarmbuilder
17+ ENV GO_COMPLIANCE_EXCLUDE=".*"
1418ARG TAGS=""
1519WORKDIR /go/src/github.com/openshift/installer
1620COPY . .
1721COPY --from=providers /go/src/github.com/openshift/installer/terraform/bin/darwin_arm64 terraform/bin/darwin_arm64
1822RUN GOOS=darwin GOARCH=arm64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
1923
2024FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS linuxbuilder
25+ ENV GO_COMPLIANCE_EXCLUDE=".*"
2126ARG TAGS=""
2227WORKDIR /go/src/github.com/openshift/installer
2328COPY . .
2429COPY --from=providers /go/src/github.com/openshift/installer/terraform/bin/linux_amd64 terraform/bin/linux_amd64
2530RUN GOOS=linux GOARCH=amd64 DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
2631
2732FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS linuxarmbuilder
33+ ENV GO_COMPLIANCE_EXCLUDE=".*"
2834ARG TAGS=""
2935WORKDIR /go/src/github.com/openshift/installer
3036COPY . .
Original file line number Diff line number Diff line change 44FROM registry.ci.openshift.org/ocp/4.16:installer-terraform-providers AS providers
55
66FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS builder
7+ # FIPS support is offered via the baremetal-installer image
8+ ENV GO_COMPLIANCE_EXCLUDE=".*"
79ARG TAGS=""
810WORKDIR /go/src/github.com/openshift/installer
911COPY . .
Original file line number Diff line number Diff line change 55FROM registry.ci.openshift.org/ocp/4.16:installer-terraform-providers as providers
66
77FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS builder
8+ # FIPS support is offered via the baremetal-installer image
9+ ENV GO_COMPLIANCE_EXCLUDE=".*"
810ARG TAGS=""
911WORKDIR /go/src/github.com/openshift/installer
1012COPY . .
Original file line number Diff line number Diff line change 22# It builds an image containing openshift-install and nss-wrapper for remote deployments, as well as the google cloud-sdk for nested GCE environments and
33# oc for getting assets from an existing cluster to spin up multi-architecture compute clusters on libvirt.
44
5- FROM registry.ci.openshift.org/ocp/4.16:installer-terraform-providers as providers
6-
75FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS builder
86ARG TAGS="libvirt"
97WORKDIR /go/src/github.com/openshift/installer
108COPY . .
11- COPY --from=providers /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/
129RUN DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
1310
1411FROM registry.ci.openshift.org/ocp/4.16:cli as cli
Original file line number Diff line number Diff line change 33FROM registry.ci.openshift.org/ocp/4.16:installer-terraform-providers as providers
44
55FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS builder
6+ # FIPS support is offered via the baremetal-installer image
7+ ENV GO_COMPLIANCE_EXCLUDE=".*"
68ARG TAGS=""
79WORKDIR /go/src/github.com/openshift/installer
810COPY . .
You can’t perform that action at this time.
0 commit comments