Skip to content

Commit

Permalink
Fixed script location
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-e-dietrich committed May 1, 2024
1 parent bfb1a32 commit 5d44b34
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ ENV SOLR_HOME="/opt/solr/server/solr"

USER root
COPY configsets /opt/docker-solr/configsets
COPY scripts/healthcheck.sh /opt/docker-solr/healthcheck.sh
COPY scripts/docksal-preinit /opt/docker-solr/docksal-preinit
COPY scripts/healthcheck.sh /opt/docker-solr/scripts/healthcheck.sh
COPY scripts/docksal-preinit /opt/docker-solr/scripts/docksal-preinit

RUN set -xe; \
apt-get update && \
Expand All @@ -27,7 +27,7 @@ RUN set -xe; \
if [ "${MAJOR_VERSION}" = "9" ]; then \
# Needed for 9.x and above
sed -i '/exec "$@"/i . docksal-preinit' /opt/solr/docker/scripts/docker-entrypoint.sh; \
cp /opt/docker-solr/healthcheck.sh /opt/docker-solr/docksal-preinit /opt/solr/docker/scripts/; \
cp /opt/docker-solr/scripts/healthcheck.sh /opt/docker-solr/scripts/docksal-preinit /opt/solr/docker/scripts/; \
fi; \
if [ "${MAJOR_VERSION}" = "8" ]; then \
# Needed for 8.x and below
Expand Down

0 comments on commit 5d44b34

Please sign in to comment.