From bca80434106d96bb00c9808db7baea74d746b4d9 Mon Sep 17 00:00:00 2001
From: Daniil Baturin <daniil@baturin.org>
Date: Mon, 19 Feb 2024 14:10:51 +0000
Subject: docker: T4440: add OCI container labels Original implementation by
 jtcarnes

---
 docker-vyos/Dockerfile | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

(limited to 'docker-vyos')

diff --git a/docker-vyos/Dockerfile b/docker-vyos/Dockerfile
index ef7621c6..95fe6ee3 100644
--- a/docker-vyos/Dockerfile
+++ b/docker-vyos/Dockerfile
@@ -84,4 +84,15 @@ LABEL maintainer="support@vyos.io" \
       description="VyOS for Docker" \
       vendor="Sentrium S.L." \
       version=${VYOS_VERSION} \
-      io.vyos.build-date=${BUILD_DATE}
+      io.vyos.build-date=${BUILD_DATE} \
+      org.opencontainers.image.authors="support@vyos.io" \
+      org.opencontainers.image.created=${BUILD_DATE} \
+      org.opencontainers.image.version=${VYOS_VERSION} \
+      org.opencontainers.image.url="https://github.com/vyos/vyos-build" \
+      org.opencontainers.image.documentation="https://docs.vyos.io/en/latest/contributing/build-vyos.html" \
+      org.opencontainers.image.source="https://github.com/vyos/vyos-build" \
+      org.opencontainers.image.vendor="Sentrium S.L." \
+      org.opencontainers.image.licenses="GNU" \
+      org.opencontainers.image.title="vyos-build" \
+      org.opencontainers.image.description="VyOS for Docker" \
+      org.opencontainers.image.base.name="docker.io/debian/debian:${DEBIAN_VERSION}-slim"
-- 
cgit v1.2.3