From de1ee4e39a734007fdc9adc61226e95acebe3514 Mon Sep 17 00:00:00 2001 From: Varsha U N Date: Sat, 9 Nov 2024 08:15:06 +0530 Subject: [PATCH] added OCI labels to dockerfile --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index d4c641d7a2..20dd644610 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,13 @@ FROM --platform=linux/amd64 python:3.12-slim-bookworm +# OCI Labels +LABEL org.opencontainers.image.title="ScanCode Toolkit" +LABEL org.opencontainers.image.description="ScanCode Toolkit for code scanning and analysis." +LABEL org.opencontainers.image.url="https://github.com/nexB/scancode-toolkit" +LABEL org.opencontainers.image.source="https://github.com/nexB/scancode-toolkit" +LABEL org.opencontainers.image.documentation="https://scancode-toolkit.readthedocs.io/" + # Python settings: Force unbuffered stdout and stderr (i.e. they are flushed to terminal immediately) ENV PYTHONUNBUFFERED 1 # Python settings: do not write pyc files