This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch ozone-1.2.1-rocky
in repository https://gitbox.apache.org/repos/asf/ozone-docker.git

commit 98a3ce8536469c9f9d11e239b4ed8ae53283261e
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Thu Nov 21 07:31:55 2024 +0100

    HDDS-11767. Use closer.lua in Ozone images
---
 Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 08d32f4..c7a3319 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,7 +16,9 @@
 ARG OZONE_RUNNER_IMAGE=apache/ozone-runner
 FROM ${OZONE_RUNNER_IMAGE}:20241121-1-jdk11
 
-ARG OZONE_URL=https://dlcdn.apache.org/ozone/1.2.1/ozone-1.2.1.tar.gz
+ARG OZONE_VERSION=1.2.1
+ARG 
OZONE_URL="https://www.apache.org/dyn/closer.lua?action=download&filename=ozone/${OZONE_VERSION}/ozone-${OZONE_VERSION}.tar.gz";
+
 WORKDIR /opt
 RUN sudo rm -rf /opt/hadoop && curl -LSs -o ozone.tar.gz $OZONE_URL && tar zxf 
ozone.tar.gz && rm ozone.tar.gz && mv ozone* hadoop
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to