Skip to content

Commit

Permalink
Drop openssh from the image
Browse files Browse the repository at this point in the history
We don't need openssh in the image so there is no reason to keep it.
  • Loading branch information
Fedosin committed Nov 5, 2020
1 parent 9065d22 commit d4bcaea
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,5 @@ COPY . .
RUN go build -o ./machine-controller-manager ./cmd/manager

FROM registry.svc.ci.openshift.org/openshift/origin-v4.0:base
RUN INSTALL_PKGS=" \
openssh \
" && \
yum install -y $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
yum clean all

COPY --from=builder /go/src/sigs.k8s.io/cluster-api-provider-openstack/machine-controller-manager /

0 comments on commit d4bcaea

Please sign in to comment.