From 4cc8a5ee6b684c5e15f54f346adb7e11fe77d3ec Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Mon, 19 Feb 2024 14:10:51 +0000 Subject: docker: T4440: add OCI container labels Original implementation by jtcarnes (cherry picked from commit bca80434106d96bb00c9808db7baea74d746b4d9) --- docker/Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'docker/Dockerfile') diff --git a/docker/Dockerfile b/docker/Dockerfile index 62601912..b6006400 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -40,7 +40,16 @@ RUN grep "VERSION_ID" /etc/os-release || (echo 'VERSION_ID="12"' >> /etc/os-rele # On some versions of docker the emulation framework is not installed by default and # you need to install qemu, qemu-user-static and register qemu inside docker manually using: # `docker run --rm --privileged multiarch/qemu-user-static:register --reset` -LABEL authors="VyOS Maintainers " +LABEL authors="VyOS Maintainers " \ + org.opencontainers.image.authors="VyOS Maintainers " \ + 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="Container to build VyOS ISO" \ + org.opencontainers.image.base.name="docker.io/debian/debian:bookworm" ENV DEBIAN_FRONTEND noninteractive RUN /bin/echo -e 'APT::Install-Recommends "0";\nAPT::Install-Suggests "0";' > /etc/apt/apt.conf.d/01norecommends -- cgit v1.2.3