triplestore/Dockerfile: Workaround for CVE-2021-44228

This commit is contained in:
Tom Wiesing 2021-12-14 10:42:42 +01:00
parent 69cf5c87ed
commit 234dc5f9f2
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15

View file

@ -42,6 +42,10 @@ COPY --from=sources /opt/graphdb /opt/graphdb
ENV GRAPHDB_HOME=/opt/graphdb
ENV PATH=$GRAPHDB_HOME/bin:$PATH
# Workaround for CVE-2021-44228
# (not sure if we are vulnerable, but just because)
ENV LOG4J_FORMAT_MSG_NO_LOOKUPS=true
# expose a port
EXPOSE 7200