diff --git a/Dockerfile.rhel7 b/Dockerfile.rhel7 deleted file mode 100644 index 1f86c521b..000000000 --- a/Dockerfile.rhel7 +++ /dev/null @@ -1,33 +0,0 @@ -FROM registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20 AS builder -ARG TAGS=ocp -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="${TAGS}" -o console ./cmd/console - -FROM registry.ci.openshift.org/ocp/4.20:base-rhel9 -RUN useradd console-operator -USER console-operator -COPY --from=builder /go/src/github.com/openshift/console-operator/console /usr/bin/console - -# these manifests are necessary for the installer -COPY manifests /manifests/ - -# out-of-the-box quickstarts -COPY quickstarts/*.yaml /manifests/ - -# extensions manifests generated from openshift/api types -COPY vendor/github.com/openshift/api/console/v1/zz_generated.crd-manifests/*.crd.yaml /manifests/ -COPY vendor/github.com/openshift/api/operator/*/zz_generated.crd-manifests/*console*.crd.yaml /manifests/ -COPY vendor/github.com/openshift/api/helm/*/zz_generated.crd-manifests/*crd.yaml /manifests/ - -LABEL io.k8s.display-name="OpenShift console-operator" \ - io.k8s.description="This is a component of OpenShift Container Platform and manages the lifecycle of the web console." \ - io.openshift.tags="openshift" \ - maintainer="Jakub Hadvig " - -LABEL io.openshift.release.operator true - -# entrypoint specified in 03-operator.yaml as `console-operator` -# CMD ["/usr/bin/console", "operator", "--kubeconfig", "path/to/config", "--config", "./install/config.yaml", "--v", "4"] -# CMD ["/usr/bin/console", "operator", "--v", "4"]