From 6edfc738793f2cc6353944b53308ab0da7530f6b Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Sun, 1 Oct 2023 18:00:15 +0800 Subject: [PATCH] Remove additional `--update` for apk in Dockerfile --- docker/Dockerfile | 2 +- docker/Dockerfile.release | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index ecc283f8a..978da7960 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -11,7 +11,7 @@ RUN go run build.go FROM alpine:latest AS restic -RUN apk add --update --no-cache ca-certificates fuse openssh-client tzdata jq +RUN apk add --no-cache ca-certificates fuse openssh-client tzdata jq COPY --from=builder /go/src/github.com/restic/restic/restic /usr/bin diff --git a/docker/Dockerfile.release b/docker/Dockerfile.release index ccf80376a..42302f203 100644 --- a/docker/Dockerfile.release +++ b/docker/Dockerfile.release @@ -13,6 +13,6 @@ RUN mv /output/restic_${TARGETOS}_${TARGETARCH} /output/restic FROM alpine:latest COPY --from=helper /output/restic /usr/bin -RUN apk add --update --no-cache ca-certificates fuse openssh-client tzdata jq +RUN apk add --no-cache ca-certificates fuse openssh-client tzdata jq ENTRYPOINT ["/usr/bin/restic"]