diff --git a/Dockerfile b/Dockerfile index 62f319487..7099a5600 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM registry.svc.ci.openshift.org/openshift/release:golang-1.13 as builder +FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-golang-openshift-4.6 as builder WORKDIR /go/src/github.com/openshift/cloud-credential-operator COPY . . ENV GO_PACKAGE github.com/openshift/cloud-credential-operator RUN go build -ldflags "-X $GO_PACKAGE/pkg/version.versionFromGit=$(git describe --long --tags --abbrev=7 --match 'v[0-9]*')" ./cmd/cloud-credential-operator -FROM registry.svc.ci.openshift.org/ocp/4.5:base +FROM registry.svc.ci.openshift.org/ocp/4.6:base COPY --from=builder /go/src/github.com/openshift/cloud-credential-operator/cloud-credential-operator /usr/bin/ COPY manifests /manifests # Update perms so we can copy updated CA if needed