Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions changelog/unreleased/pull-5523
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions docker/Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ RUN mv /output/restic_${TARGETOS}_${TARGETARCH} /output/restic

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
RUN apk add --no-cache ca-certificates fuse openssh-client tzdata jq

Expand Down
Loading