github.com/openshift/installer@v1.4.17/images/infrastructure-providers/Dockerfile (about) 1 # FIPS support is offered via the baremetal-installer image 2 3 FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17 AS macbuilder 4 ENV GO_COMPLIANCE_EXCLUDE=".*" 5 WORKDIR /go/src/github.com/openshift/installer 6 COPY . . 7 RUN CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 make -C terraform 8 9 FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17 AS macarmbuilder 10 ENV GO_COMPLIANCE_EXCLUDE=".*" 11 WORKDIR /go/src/github.com/openshift/installer 12 COPY . . 13 RUN CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 make -C terraform 14 15 FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17 AS linuxbuilder 16 ENV GO_COMPLIANCE_EXCLUDE=".*" 17 WORKDIR /go/src/github.com/openshift/installer 18 COPY . . 19 RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make -C terraform 20 21 FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.22-openshift-4.17 AS linuxarmbuilder 22 ENV GO_COMPLIANCE_EXCLUDE=".*" 23 WORKDIR /go/src/github.com/openshift/installer 24 COPY . . 25 RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 make -C terraform 26 27 FROM registry.ci.openshift.org/ocp/4.16:base-rhel9 28 WORKDIR /go/src/github.com/openshift/installer 29 COPY --from=macbuilder /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/ 30 COPY --from=macarmbuilder /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/ 31 COPY --from=linuxbuilder /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/ 32 COPY --from=linuxarmbuilder /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/