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

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

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

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

diff --git a/Dockerfile b/Dockerfile
index 4a74209..5dae904 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.3.0/ozone-1.3.0.tar.gz
+ARG OZONE_VERSION=1.3.0
+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