mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-30 00:33:32 +02:00
Merge pull request #2886 from alexbelgium/fix/elasticsearch-base-image-elastic-registry
elasticsearch: build FROM docker.elastic.co (fix aarch64 mirror-lag build failure)
This commit is contained in:
@@ -15,7 +15,11 @@
|
||||
#################
|
||||
|
||||
ARG BUILD_UPSTREAM="8.19.19"
|
||||
FROM elasticsearch:$BUILD_UPSTREAM
|
||||
# Pull from Elastic's own registry (multi-arch, published atomically with the
|
||||
# GitHub release the updater tracks) rather than the Docker Hub "library"
|
||||
# mirror, whose arm64/aarch64 tag lags hours behind and breaks the aarch64
|
||||
# build right after an update (e.g. elasticsearch:8.19.19 arm64 missing).
|
||||
FROM docker.elastic.co/elasticsearch/elasticsearch:$BUILD_UPSTREAM
|
||||
|
||||
# The base image ends as USER 1000:0 with a root-owned, read-only (0555)
|
||||
# entrypoint; switch back to root for the remaining build steps (entrypoint
|
||||
|
||||
Reference in New Issue
Block a user