I am trying to build Elasticsearch from source and getting the below error when I run "./gradlew assemble"
> Task :distribution:docker:buildWolfiDockerImage FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':distribution:docker:buildWolfiDockerImage'.
> A failure occurred while executing org.elasticsearch.gradle.internal.docker.DockerBuildTask$DockerBuildAction
> Failed to pull Docker base image [docker.elastic.co/wolfi/chainguard-base:latest@sha256:973431347ad45f40e01afbbd010bf9de929c088a63382239b90dd84f39618bc8], all attempts failed
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Get more help at https://help.gradle.org.
BUILD FAILED in 5m 36s
804 actionable tasks: 532 executed, 272 up-to-date
Additional info
java -version
openjdk version "21.0.5" 2024-10-15 LTS
OpenJDK Runtime Environment Temurin-21.0.5+11 (build 21.0.5+11-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.5+11 (build 21.0.5+11-LTS, mixed mode, sharing)
docker --version
Docker version 25.0.5, build 5dc9bcc