mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
Fixed elasticsearch tag download issue (#2673)
Co-authored-by: JackGlobetrotter <jackglobetrotter@gmail.com>
This commit is contained in:
parent
145534e88f
commit
441b4eaaeb
2
lib.sh
2
lib.sh
@ -179,7 +179,7 @@ fulltextsearch_install() {
|
||||
FULLTEXTSEARCH_SERVICE=nextcloud-fulltext-elasticsearch-worker.service
|
||||
# Supports 0-9.0-99.0-9. Max supprted version with this function is 9.99.9. When ES 10.0.0 is out we have a problem.
|
||||
# Maybe "10\\.[[:digit:]][[:digit:]]\\.[[:digit:]]" will work?
|
||||
FULLTEXTSEARCH_IMAGE_NAME_LATEST_TAG="$(curl -s -m 900 https://www.docker.elastic.co/r/elasticsearch | grep -Eo "[[:digit:]]\\.[[:digit:]][[:digit:]]\\.[[:digit:]]" | sort --version-sort | tail -1)"
|
||||
FULLTEXTSEARCH_IMAGE_NAME_LATEST_TAG="$(curl -s -m 900 https://www.docker.elastic.co/r/elasticsearch?limit=500 | grep -Eo "[[:digit:]]\\.[[:digit:]][[:digit:]]\\.[[:digit:]]" | sort --version-sort | tail -1)"
|
||||
# Legacy, changed 2023-09-21
|
||||
DOCKER_IMAGE_NAME=es01
|
||||
# Legacy, not used at all
|
||||
|
||||
Loading…
Reference in New Issue
Block a user