Skip to content

Commit 02f00d8

Browse files
committed
HDDS-11767. Use closer.lua in Ozone images
1 parent c9828e4 commit 02f00d8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
ARG OZONE_RUNNER_IMAGE=apache/ozone-runner
1717
FROM ${OZONE_RUNNER_IMAGE}:20241121-1-jdk11
1818

19-
ARG OZONE_URL=https://dlcdn.apache.org/ozone/1.1.0/ozone-1.1.0.tar.gz
19+
ARG OZONE_VERSION=1.1.0
20+
ARG OZONE_URL="https://www.apache.org/dyn/closer.lua?action=download&filename=ozone/${OZONE_VERSION}/ozone-${OZONE_VERSION}.tar.gz"
21+
2022
WORKDIR /opt
2123
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
2224

0 commit comments

Comments
 (0)