Created
December 21, 2021 06:08
-
-
Save pplmx/0e87c633ec7ddcfa5184e171c0a302c0 to your computer and use it in GitHub Desktop.
SonarQube Scanner NodeJS project
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
FROM sonarqube:community | |
USER root | |
# --no-cache: download package index on-the-fly, no need to cleanup afterwards | |
# --virtual: bundle packages, remove whole bundle at once, when done | |
# Using --no-cache avoids having to use rm -rf /var/cache/apk/*; | |
# Using --virtual allows you to remove multiple packages required during build only at once | |
RUN apk --update --no-cache --virtual build-dependencies add \ | |
nodejs \ | |
&& apk del build-dependencies | |
USER sonarqube |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment