Skip to content

Instantly share code, notes, and snippets.

@wagenrace
Created August 12, 2023 20:32
# Make the base docker variable
ARG IMAGE_NAME
FROM $IMAGE_NAME
# Get the license allowed to use
COPY pyproject.toml .
# Do the scan
RUN python3 -m pip install license_scanner
CMD python3 -m license_scanner -m whitelist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment