File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
images/terraform-providers Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS macbuilder
2+ WORKDIR /go/src/github.com/openshift/installer
3+ COPY . .
4+ RUN CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 make -C terraform
5+
6+ FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS macarmbuilder
7+ WORKDIR /go/src/github.com/openshift/installer
8+ COPY . .
9+ RUN CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 make -C terraform
10+
11+ FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS linuxbuilder
12+ WORKDIR /go/src/github.com/openshift/installer
13+ COPY . .
14+ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 make -C terraform
15+
16+ FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS linuxarmbuilder
17+ WORKDIR /go/src/github.com/openshift/installer
18+ COPY . .
19+ RUN CGO_ENABLED=0 GOOS=linux GOARCH=arm64 make -C terraform
20+
21+ FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15
22+ WORKDIR /go/src/github.com/openshift/installer
23+ COPY --from=macbuilder /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/
24+ COPY --from=macarmbuilder /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/
25+ COPY --from=linuxbuilder /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/
26+ COPY --from=linuxarmbuilder /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/
You can’t perform that action at this time.
0 commit comments