Skip to content

Commit

Permalink
HDDS-11767. Use closer.lua in Ozone images
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai committed Nov 21, 2024
1 parent 1a52c52 commit 60af14c
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://archive.apache.org/dist/hadoop/ozone/ozone-1.0.0/hadoop-ozone-1.0.0.tar.gz
ARG OZONE_VERSION=1.0.0
ARG OZONE_URL="https://www.apache.org/dyn/closer.lua?action=download&filename=hadoop/ozone/ozone-${OZONE_VERSION}/hadoop-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 60af14c

Please sign in to comment.