mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-03-04 23:27:17 +00:00
security: patch log4j remote code execution vulnerability (#1178)
This commit is contained in:
parent
529d92fa63
commit
0718a62007
1 changed files with 3 additions and 0 deletions
|
@ -85,6 +85,9 @@ if [ -n "$JVM_DD_OPTS" ]; then
|
|||
done
|
||||
fi
|
||||
|
||||
# Patch Log4j remote code execution vulnerability
|
||||
JVM_OPTS="-Dlog4j2.formatMsgNoLookups=true ${JVM_OPTS}"
|
||||
|
||||
if isTrue ${ENABLE_JMX}; then
|
||||
: ${JMX_PORT:=7091}
|
||||
JVM_OPTS="${JVM_OPTS}
|
||||
|
|
Loading…
Add table
Reference in a new issue