Skip to content

Commit

Permalink
added OCI labels to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
VarshaUN committed Nov 9, 2024
1 parent 15b76ea commit de1ee4e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit de1ee4e

Please sign in to comment.