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 222e843 commit 98a3ce8
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.2.1/ozone-1.2.1.tar.gz
ARG OZONE_VERSION=1.2.1
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 98a3ce8

Please sign in to comment.