/.dockerfile Secret
Created
August 12, 2023 20:32
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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