mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 04:52:11 +00:00
disable log4j lookups
This commit is contained in:
parent
0ef2e89cac
commit
b4c1805551
1 changed files with 3 additions and 2 deletions
|
@ -14,7 +14,7 @@ RUN apk -U --no-cache add \
|
||||||
bash \
|
bash \
|
||||||
curl \
|
curl \
|
||||||
nss && \
|
nss && \
|
||||||
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing openjdk16-jre && \
|
apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/community openjdk16-jre && \
|
||||||
#
|
#
|
||||||
# Get and install packages
|
# Get and install packages
|
||||||
cd /root/dist/ && \
|
cd /root/dist/ && \
|
||||||
|
@ -47,4 +47,5 @@ HEALTHCHECK --retries=10 CMD curl -s -XGET 'http://127.0.0.1:9200/_cat/health'
|
||||||
#
|
#
|
||||||
# Start ELK
|
# Start ELK
|
||||||
USER elasticsearch:elasticsearch
|
USER elasticsearch:elasticsearch
|
||||||
CMD ["/usr/share/elasticsearch/bin/elasticsearch"]
|
#CMD ["/usr/share/elasticsearch/bin/elasticsearch"]
|
||||||
|
CMD export ES_JAVA_OPTS="$ES_JAVA_OPTS -Dlog4j2.formatMsgNoLookups=true" && exec "/usr/share/elasticsearch/bin/elasticsearch"
|
||||||
|
|
Loading…
Reference in a new issue