mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 19:08:55 +00:00
Merge pull request #4498 from PeterDaveHello/ImproveDockerfile
Remove additional `--update` for apk in Dockerfile
This commit is contained in:
commit
4087c3aff7
@ -11,7 +11,7 @@ RUN go run build.go
|
|||||||
|
|
||||||
FROM alpine:latest AS restic
|
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
|
COPY --from=builder /go/src/github.com/restic/restic/restic /usr/bin
|
||||||
|
|
||||||
|
@ -13,6 +13,6 @@ RUN mv /output/restic_${TARGETOS}_${TARGETARCH} /output/restic
|
|||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
COPY --from=helper /output/restic /usr/bin
|
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"]
|
ENTRYPOINT ["/usr/bin/restic"]
|
||||||
|
Loading…
Reference in New Issue
Block a user