Skip to content

Commit

Permalink
Try switching to alpine base image.
Browse files Browse the repository at this point in the history
  • Loading branch information
manugarg authored Sep 27, 2022
1 parent 5c70fb5 commit d9cb63c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# This stage is used to find the correct binary for the platform. We store the
# correct binary at /stage-0-workdir/cloudprober, and in the next stage discard
# the rest.
FROM busybox AS stage0
FROM alpine AS stage0
WORKDIR /stage-0-workdir
COPY cloudprober-linux-* ./

Expand All @@ -20,7 +20,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \
mv cloudprober-linux-armv7 cloudprober; fi

FROM busybox
FROM alpine
COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY --from=stage0 /stage-0-workdir/cloudprober /

Expand Down

0 comments on commit d9cb63c

Please sign in to comment.