Skip to content

Commit

Permalink
docs(docker): add labels to image
Browse files Browse the repository at this point in the history
Signed-off-by: Universal Studio <[email protected]>
  • Loading branch information
TMUniversal committed Feb 25, 2024
1 parent a70370b commit fda8588
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
FROM scratch

LABEL repository="https://github.com/TMUniversal/papercrypt" \
homepage="https://github.com/TMUniversal/papercrypt/blob/main/README.md" \
maintainer="TMUniversal <[email protected]>" \
Vendor="TMUniversal" \
org.opencontainers.image.base.name="scratch" \
org.opencontainers.image.base.digest="" \
org.opencontainers.image.title="PaperCrypt" \
org.opencontainers.image.description="PaperCrypt is a Go-based command-line tool designed to enhance the security of your sensitive data through the generation of printable backup documents." \
org.opencontainers.image.authors="TMUniversal <[email protected]> (https://tmuniversal.eu)" \
org.opencontainers.image.vendor="TMWare" \
# Source is overridden by the build system
org.opencontainers.image.source="https://github.com/TMUniversal/papercrypt" \
org.opencontainers.image.documentation="https://github.com/TMUniversal/papercrypt/blob/main/README.md" \
org.opencontainers.image.url="https://github.com/users/TMUniversal/packages/container/package/papercrypt" \
org.label-schema.usage="docker run --rm -it -v \$PWD:/data ghcr.io/tmuniversal/papercrypt:latest generate -i /data/myfile.txt -o /data/output.pdf --purpose 'Backup' --comment 'This is a backup of myfile.txt'"

COPY papercrypt /
ENTRYPOINT ["/papercrypt"]

0 comments on commit fda8588

Please sign in to comment.