Skip to content

Commit

Permalink
HDDS-11767. Use closer.lua in Ozone images
Browse files Browse the repository at this point in the history
(cherry picked from commit 3f05935)
  • Loading branch information
adoroszlai committed Nov 21, 2024
1 parent 944803b commit f84fcfe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f84fcfe

Please sign in to comment.