minor improvements
All checks were successful
continuous-integration/woodpecker the build was successful

This commit is contained in:
Samuel Philipp 2021-11-04 23:11:23 +01:00
parent 6872d91892
commit d9e3522aa2

View file

@ -13,11 +13,7 @@ RUN apk upgrade --no-cache \
# STEP 2 build the image including only the binary # STEP 2 build the image including only the binary
FROM alpine:3.14.2@sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a FROM alpine:3.14.2@sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a
RUN apk upgrade --no-cache && apk add \ RUN apk upgrade --no-cache && apk add libc6-compat device-mapper findutils zfs \
libc6-compat="1.2.2-r3" \
device-mapper="2.02.187-r1" \
findutils="4.8.0-r1" \
zfs="2.0.3-r1" \
&& rm -rf /var/cache/apk/* && rm -rf /var/cache/apk/*
COPY --from=builder /go/src/github.com/google/cadvisor/cadvisor /usr/bin/cadvisor COPY --from=builder /go/src/github.com/google/cadvisor/cadvisor /usr/bin/cadvisor