Skip to content

Commit 5d44b34

Browse files
Fixed script location
1 parent bfb1a32 commit 5d44b34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ ENV SOLR_HOME="/opt/solr/server/solr"
1111

1212
USER root
1313
COPY configsets /opt/docker-solr/configsets
14-
COPY scripts/healthcheck.sh /opt/docker-solr/healthcheck.sh
15-
COPY scripts/docksal-preinit /opt/docker-solr/docksal-preinit
14+
COPY scripts/healthcheck.sh /opt/docker-solr/scripts/healthcheck.sh
15+
COPY scripts/docksal-preinit /opt/docker-solr/scripts/docksal-preinit
1616

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

0 commit comments

Comments
 (0)