File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
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- ARG libvirt_version="8.0.0"
5-
64FROM registry.ci.openshift.org/ocp/4.16:installer-terraform-providers AS providers
75
86FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.21-openshift-4.16 AS builder
9- ARG libvirt_version
107ARG TAGS="libvirt baremetal"
11- RUN dnf install -y libvirt-devel-$libvirt_version && \
12- dnf clean all && rm -rf /var/cache/yum/*
138WORKDIR /go/src/github.com/openshift/installer
149COPY . .
1510COPY --from=providers /go/src/github.com/openshift/installer/terraform/bin/ terraform/bin/
1611RUN DEFAULT_ARCH="$(go env GOHOSTARCH)" hack/build.sh
1712
1813
1914FROM registry.ci.openshift.org/ocp/4.16:base
20- ARG libvirt_version
2115COPY --from=builder /go/src/github.com/openshift/installer/bin/openshift-install /bin/openshift-install
2216
2317RUN dnf upgrade -y && \
2418 dnf install --setopt=tsflags=nodocs -y \
25- libvirt-libs-$libvirt_version openssl unzip jq openssh-clients && \
19+ openssl unzip jq openssh-clients && \
2620 dnf clean all && rm -rf /var/cache/yum/*
2721
2822RUN mkdir /output && chown 1000:1000 /output
You can’t perform that action at this time.
0 commit comments