forked from OpenShiftDemos/sonarqube-openshift-docker
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mitigation documented here; https://logging.apache.org/log4j/2.x/security.html Signed-off-by: Wade Barnes <[email protected]>
- Loading branch information
1 parent
3834ed8
commit 6b4565d
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ FROM sonarqube:8-community | |
MAINTAINER Erik Jacobs <[email protected]> | ||
MAINTAINER Siamak Sadeghianfar <[email protected]> | ||
MAINTAINER Roland Stens ([email protected]) | ||
MAINTAINER Wade Barnes (wade.barnes@shaw.ca) | ||
MAINTAINER Wade Barnes (wade@neoterictech.ca) | ||
MAINTAINER Emiliano Sune ([email protected]) | ||
MAINTAINER Alejandro Sanchez ([email protected]) | ||
|
||
|
@@ -21,6 +21,14 @@ LABEL summary="$SUMMARY" \ | |
# Define Plug-in Versions | ||
ARG SONAR_ZAP_PLUGIN_VERSION=1.2.0 | ||
ENV SONARQUBE_PLUGIN_DIR="$SONARQUBE_HOME/extensions/plugins" | ||
# =============================================================================================== | ||
# Mitigation for CVE-2021-44228 | ||
# | ||
# References: | ||
# - https://logging.apache.org/log4j/2.x/security.html | ||
# ----------------------------------------------------------------------------------------------- | ||
ENV LOG4J_FORMAT_MSG_NO_LOOKUPS=true | ||
# =============================================================================================== | ||
|
||
# Switch to root for package installs | ||
USER 0 | ||
|
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