Skip to content

Commit

Permalink
Use wait-for-solr, install curl
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Feb 19, 2025
1 parent 8aea9bd commit 10557d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 33 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ RUN set -ex; \
\
apk add --no-cache \
bash \
curl \
make \
procps-ng \
sudo; \
Expand All @@ -105,4 +106,4 @@ COPY security.json /
USER solr

ENTRYPOINT ["/entrypoint.sh"]
CMD ["solr-foreground"]
CMD ["solr-foreground", "-c"]
2 changes: 1 addition & 1 deletion bin/actions.mk
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ add-admin-user:
-H 'Content-type:application/json' -d '{"set-user-role":{"$(user)": ["admin"]}}' | grep -vq 'errorMessages'

check-ready:
wait_solr $(host) $(max_try) $(wait_seconds) $(delay_seconds)
wait-for-solr.sh --solr-url http://$(host):8983 --max-attempts $(max_try) --wait-seconds $(wait_seconds)

check-live:
@echo "OK"
31 changes: 0 additions & 31 deletions bin/wait_solr

This file was deleted.

0 comments on commit 10557d6

Please # to comment.