Apply vulnerability patch to mitigate CVE-2021-44228

This commit is contained in:
Iain Powrie 2021-12-12 15:17:22 +00:00
parent c59b13bfde
commit fb42b3b628

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 & Garbage Collect Compile Deps & Harden # Install Packages & Garbage Collect Compile Deps & Harden
COPY requirements.txt /commander/requirements.txt COPY requirements.txt /commander/requirements.txt
RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/latest-stable/community \ RUN apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/latest-stable/community \