Skip to content

Commit

Permalink
set /solr* to be owned by solr user for #17
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Dec 23, 2017
1 parent 54549a5 commit d9621fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions solr/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ RUN set -euxo pipefail && \
# check tarball was extracted to the right place, helps ensure it's the right version and the link will work
test -d "solr-$SOLR_VERSION" && \
ln -sv "solr-$SOLR_VERSION" solr && \
chown -R solr /solr* && \
rm -fv "$TAR" && \
{ rm -rf solr/doc; : ; } && \
apk del tar wget
Expand Down
1 change: 1 addition & 0 deletions solrcloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ RUN set -euxo pipefail && \
# check tarball was extracted to the right place, helps ensure it's the right version and the link will work
test -d "solr-$SOLRCLOUD_VERSION" && \
ln -sv "solr-$SOLRCLOUD_VERSION" solr && \
chown -R solr /solr* && \
rm -fv "$TAR" && \
{ rm -rf solr/doc; : ; } && \
apk del tar wget
Expand Down

0 comments on commit d9621fc

Please sign in to comment.