File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
images/installer-altinfra Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 1+ # This Dockerfile is used by CI to publish the installer-altinfra image,
2+ # which, through the use of the altinfra build tag, only uses alternate
3+ # infrastructure providers to the original Terraform implementations.
4+ #
5+ # This image is intended to be temporary: to provide a Terraform-free image
6+ # it only supports the subset of providers that have implemented non-Terraform
7+ # solutions. Once all providers have alternate implementations, this image will
8+ # not be needed.
9+
10+ FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.20-openshift-4.15 AS builder
11+ ARG TAGS="altinfra"
12+ WORKDIR /go/src/github.com/openshift/installer
13+ COPY . .
14+ RUN DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
15+ RUN go run -mod=vendor hack/build-coreos-manifest.go
16+
17+
18+ FROM registry.ci.openshift.org/ocp/4.15:base
19+ COPY --from=builder /go/src/github.com/openshift/installer/bin/openshift-install /bin/openshift-install
20+ COPY --from=builder /go/src/github.com/openshift/installer/bin/manifests/ /manifests/
21+ RUN mkdir /output && chown 1000:1000 /output
22+ USER 1000:1000
23+ ENV PATH /bin
24+ ENV HOME /output
25+ WORKDIR /output
26+ # We're not really an operator, we're just getting some data into the release image.
27+ LABEL io.openshift.release.operator=true
28+ ENTRYPOINT ["/bin/openshift-install"]
You can’t perform that action at this time.
0 commit comments