Skip to content

Commit

Permalink
Merge pull request #944 from petr-muller/dockerfile-public-ubi
Browse files Browse the repository at this point in the history
Dockerfile: bump to 1.19 and use public UBI pullspec
  • Loading branch information
openshift-merge-robot committed Jun 27, 2023
2 parents 0a7a070 + 10deb6f commit 216683c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
@@ -1,11 +1,11 @@
FROM registry.ci.openshift.org/openshift/release:golang-1.18 AS builder
FROM registry.ci.openshift.org/openshift/release:golang-1.19 AS builder
WORKDIR /go/src/github.com/openshift/cluster-version-operator
COPY . .
RUN hack/build-go.sh; \
mkdir -p /tmp/build; \
cp _output/linux/$(go env GOARCH)/cluster-version-operator /tmp/build/cluster-version-operator

FROM registry.ci.openshift.org/ocp/ubi:8
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
COPY --from=builder /tmp/build/cluster-version-operator /usr/bin/
COPY install /manifests
COPY vendor/github.com/openshift/api/config/v1/0000_00_cluster-version-operator_01_clusterversion.crd.yaml /manifests/
Expand Down

0 comments on commit 216683c

Please sign in to comment.