Skip to content

Commit

Permalink
sCreate Dockerfile.rhel file
Browse files Browse the repository at this point in the history
This creates a Dockerfile.rhel file according to convention and symlink Dockerfile.rhel7 to the new one to satisfy tooling consumers until we switch them
  • Loading branch information
enxebre committed Sep 2, 2020
1 parent ff56548 commit c868080
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
17 changes: 17 additions & 0 deletions Dockerfile.rhel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-golang-openshift-4.6 AS builder
WORKDIR /go/src/github.com/openshift/cluster-machine-approver
COPY . .
RUN make build

FROM registry.svc.ci.openshift.org/ocp/4.6:base
COPY --from=builder /go/src/github.com/openshift/cluster-machine-approver/machine-approver /usr/bin/
COPY manifests /manifests
ENTRYPOINT ["/usr/bin/machine-approver"]
LABEL io.k8s.display-name="OpenShift cluster-machine-approver" \
io.k8s.description="This is an OpenShift component for approving new machines" \
com.redhat.component="cluster-machine-approver" \
maintainer="OpenShift Auth Team <aos-auth-team@redhat.com>" \
name="openshift/ose-cluster-machine-approver" \
version="v4.0.0" \
io.openshift.tags="openshift" \
io.openshift.release.operator=true
17 changes: 0 additions & 17 deletions Dockerfile.rhel7

This file was deleted.

1 change: 1 addition & 0 deletions Dockerfile.rhel7

0 comments on commit c868080

Please sign in to comment.