Skip to content

Commit

Permalink
Rebase base image of cloud controller manager and cloud node manager …
Browse files Browse the repository at this point in the history
…to distroless.
  • Loading branch information
t-qini committed Sep 17, 2019
1 parent 7320158 commit eb301d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ WORKDIR /go/src/k8s.io/cloud-provider-azure
COPY . .
RUN make

FROM buildpack-deps:stretch-curl
FROM k8s.gcr.io/debian-base:v1.0.0
COPY --from=build /go/src/k8s.io/cloud-provider-azure/bin/azure-cloud-controller-manager /usr/local/bin
RUN ln -s /usr/local/bin/azure-cloud-controller-manager /usr/local/bin/cloud-controller-manager
2 changes: 1 addition & 1 deletion Dockerfile.node
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ WORKDIR /go/src/k8s.io/cloud-provider-azure
COPY . .
RUN make

FROM buildpack-deps:stretch-curl
FROM k8s.gcr.io/debian-base:v1.0.0
COPY --from=build /go/src/k8s.io/cloud-provider-azure/bin/azure-cloud-node-manager /usr/local/bin
RUN ln -s /usr/local/bin/azure-cloud-node-manager /usr/local/bin/cloud-node-manager

0 comments on commit eb301d1

Please sign in to comment.