From c915b5cbf52917e47871a53ea870163ff025611b Mon Sep 17 00:00:00 2001 From: Alex Gustafsson Date: Thu, 19 Dec 2024 18:20:12 +0100 Subject: [PATCH] Add OCI annotations to Dockerfile Solves: #24393 --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4bdf1b0ce5b8..e7d77d17fb6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,10 @@ LABEL name="Vault" \ release=${PRODUCT_REVISION} \ revision=${PRODUCT_REVISION} \ summary="Vault is a tool for securely accessing secrets." \ - description="Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, and more. Vault provides a unified interface to any secret, while providing tight access control and recording a detailed audit log." + description="Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, and more. Vault provides a unified interface to any secret, while providing tight access control and recording a detailed audit log." \ + org.opencontainers.image.source="https://github.com/hashicorp/vault" \ + org.opencontainers.image.version=${PRODUCT_VERSION} \ + org.opencontainers.image.revision=${PRODUCT_REVISION} # Copy the license file as per Legal requirement COPY LICENSE /usr/share/doc/$NAME/LICENSE.txt