Skip to content

Commit

Permalink
Merged in r2-1941_2.2.0.2-to-master (pull request #5670)
Browse files Browse the repository at this point in the history
R2-1941: Merge 2.0.2.2 to master 12.13.21
  • Loading branch information
jtoliver-quoin committed Dec 13, 2021
2 parents 3fd1904 + f403013 commit 2aeedb5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/solr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ RUN bin/bash -c set -euox pipefail \
; apt install -y $SOLR_PACKAGES \
; chown -R $SOLR_USER:$SOLR_GROUP /var/solr/data \
; chmod -R 700 /var/solr/data \
; chmod +x /sub.sh
; chmod +x /sub.sh \
; cp /opt/solr/bin/solr.in.sh.orig /opt/solr/bin/solr.in.sh \
; echo 'Defending against CVE-2021-44228' \
; echo 'SOLR_OPTS="$SOLR_OPTS -Dlog4j2.formatMsgNoLookups=true"' >> /opt/solr/bin/solr.in.sh \
; mv /opt/solr/bin/solr.in.sh /etc/default/solr.in.sh

USER $SOLR_USER
# This could also be put in the compose file.
Expand Down

0 comments on commit 2aeedb5

Please sign in to comment.