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

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


The following commit(s) were added to refs/heads/latest by this push:
     new 69ef5c4  HDDS-11767. Use closer.lua in Ozone images (#34)
69ef5c4 is described below

commit 69ef5c41663f0ed88f74f09b54d48f0177043635
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Thu Nov 21 20:11:19 2024 +0100

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

diff --git a/Dockerfile b/Dockerfile
index adccb69..dafc5dd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,7 +16,9 @@
 ARG OZONE_RUNNER_IMAGE=apache/ozone-runner
 FROM ${OZONE_RUNNER_IMAGE}:20241108-jdk17-1
 
-ARG OZONE_URL=https://dlcdn.apache.org/ozone/1.4.0/ozone-1.4.0.tar.gz
+ARG OZONE_VERSION=1.4.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