mirror of
https://github.com/restic/restic.git
synced 2025-10-19 07:33:21 +00:00
Add OpenContainers labels to Dockerfile.release
This commit is contained in:
parent
08443fe593
commit
8f858829ed
2 changed files with 12 additions and 0 deletions
6
changelog/unreleased/pull-5523
Normal file
6
changelog/unreleased/pull-5523
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Enhancement: Add OpenContainers labels to Dockerfile.release
|
||||||
|
|
||||||
|
The restic Docker image now includes labels from the OpenContainers Annotations Spec.
|
||||||
|
This information can be used by third party services.
|
||||||
|
|
||||||
|
https://github.com/restic/restic/pull/5523
|
|
@ -12,6 +12,12 @@ RUN mv /output/restic_${TARGETOS}_${TARGETARCH} /output/restic
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
|
LABEL org.opencontainers.image.title="restic"
|
||||||
|
LABEL org.opencontainers.image.description="Fast, secure, efficient backup program"
|
||||||
|
LABEL org.opencontainers.image.url="https://restic.net"
|
||||||
|
LABEL org.opencontainers.image.documentation="https://restic.readthedocs.io"
|
||||||
|
LABEL org.opencontainers.image.source="https://github.com/restic/restic"
|
||||||
|
|
||||||
COPY --from=helper /output/restic /usr/bin
|
COPY --from=helper /output/restic /usr/bin
|
||||||
RUN apk add --no-cache ca-certificates fuse openssh-client tzdata jq
|
RUN apk add --no-cache ca-certificates fuse openssh-client tzdata jq
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue