Apply vulnerability patch to mitigate CVE-2021-44228

This commit is contained in:
Iain Powrie 2021-12-12 15:08:35 +00:00
parent 2dcdc1255b
commit 55bf41f7f6

View File

@ -2,6 +2,9 @@ FROM python:alpine
LABEL maintainer="Dockerfile created by Zedifus <https://gitlab.com/zedifus>" LABEL maintainer="Dockerfile created by Zedifus <https://gitlab.com/zedifus>"
# Security Patch for CVE-2021-44228
ENV LOG4J_FORMAT_MSG_NO_LOOKUPS=true
# Install Packages, Build Dependencies & Garbage Collect & Harden # Install Packages, Build Dependencies & Garbage Collect & Harden
# (Alpine Edge repo is needed because jre16 is new) # (Alpine Edge repo is needed because jre16 is new)
COPY requirements.txt /commander/requirements.txt COPY requirements.txt /commander/requirements.txt