Skip to content

Commit

Permalink
fix: change to use alpine as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
swimablefish committed Jul 21, 2023
1 parent cd0e60b commit 7ba6805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster-autoscaler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ WORKDIR /gopath/src/k8s.io/autoscaler/cluster-autoscaler
ADD . .
RUN go build -o cluster-autoscaler

FROM gcr.io/distroless/static:latest
FROM alpine

COPY --from=build /gopath/src/k8s.io/autoscaler/cluster-autoscaler/cluster-autoscaler /
COPY --from=build /gopath/src/k8s.io/autoscaler/cluster-autoscaler/cluster-autoscaler .
CMD ["/cluster-autoscaler"]

0 comments on commit 7ba6805

Please sign in to comment.