Skip to content

Commit

Permalink
Merge pull request #168 from elmiko/ca-bz-1872080
Browse files Browse the repository at this point in the history
Bug 1872080: Add images/cluster-autoscaler/Dockerfile.rhel to match build configuration in ocp-build-data
  • Loading branch information
openshift-merge-robot committed Sep 2, 2020
2 parents 6a08eb1 + ac76690 commit 7186e47
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions images/cluster-autoscaler/Dockerfile.rhel
@@ -0,0 +1,9 @@
FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-golang-openshift-4.6 AS builder
WORKDIR /go/src/k8s.io/autoscaler
COPY . .
RUN go build -o cluster-autoscaler/cluster-autoscaler ./cluster-autoscaler

FROM registry.svc.ci.openshift.org/ocp/builder:rhel-8-base-openshift-4.6
COPY --from=builder /go/src/k8s.io/autoscaler/cluster-autoscaler/cluster-autoscaler /usr/bin/
CMD /usr/bin/cluster-autoscaler
LABEL summary="Cluster Autoscaler for OpenShift and Kubernetes"

0 comments on commit 7186e47

Please sign in to comment.