Skip to content

Commit d5c53dc

Browse files
committed
added OCI labels to dockerfile
Signed-off-by: Varsha U N <varshamaddur2006@gmail.com>
1 parent 15b76ea commit d5c53dc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Dockerfile

+7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99

1010
FROM --platform=linux/amd64 python:3.12-slim-bookworm
1111

12+
# OCI Labels
13+
LABEL org.opencontainers.image.title="ScanCode Toolkit"
14+
LABEL org.opencontainers.image.description="ScanCode Toolkit for code scanning and analysis."
15+
LABEL org.opencontainers.image.url="https://github.com/nexB/scancode-toolkit"
16+
LABEL org.opencontainers.image.source="https://github.com/nexB/scancode-toolkit"
17+
LABEL org.opencontainers.image.documentation="https://scancode-toolkit.readthedocs.io/"
18+
1219
# Python settings: Force unbuffered stdout and stderr (i.e. they are flushed to terminal immediately)
1320
ENV PYTHONUNBUFFERED 1
1421
# Python settings: do not write pyc files

0 commit comments

Comments
 (0)