Skip to content

Commit

Permalink
Merge pull request #556 from openshift-bot/art-consistency-openshift-…
Browse files Browse the repository at this point in the history
…4.9-openshift-enterprise-console-operator

Updating openshift-enterprise-console-operator images to be consistent with ART
  • Loading branch information
openshift-merge-robot committed Jun 19, 2021
2 parents 9ca57a9 + c433a0b commit 5c37bd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.rhel7
@@ -1,10 +1,10 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.16-openshift-4.8 AS builder
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.16-openshift-4.9 AS builder
WORKDIR /go/src/github.com/openshift/console-operator
COPY . .
ENV GO_PACKAGE github.com/openshift/console-operator
RUN go build -ldflags "-X $GO_PACKAGE/pkg/version.versionFromGit=$(git describe --long --tags --abbrev=7 --match 'v[0-9]*')" -tags="ocp" -o console ./cmd/console

FROM registry.ci.openshift.org/ocp/4.8:base
FROM registry.ci.openshift.org/ocp/4.9:base
RUN useradd console-operator
USER console-operator
COPY --from=builder /go/src/github.com/openshift/console-operator/console /usr/bin/console
Expand Down

0 comments on commit 5c37bd8

Please sign in to comment.