Skip to content

Commit

Permalink
Merge pull request #38 from umccr/enhancement/add-rclone-maker
Browse files Browse the repository at this point in the history
Need to pull in binaries of target platform
  • Loading branch information
alexiswl authored Jun 7, 2024
2 parents f98def2 + 0e2a3f7 commit c863aa0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions repositories/rclone/1.66.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ LABEL author="Alexis Lucattini" \
maintainer="[email protected]"

ARG RCLONE_VERSION="v1.66.0"
ARG TARGETPLATFORM

ADD rclone-config-maker.py /usr/local/bin/rclone-config-maker

Expand All @@ -14,11 +15,11 @@ RUN apt update -y -q && \
python3 \
python3-tomli-w && \
wget \
--output-document "rclone-${RCLONE_VERSION}-linux-amd64.deb" \
"https://downloads.rclone.org/${RCLONE_VERSION}/rclone-${RCLONE_VERSION}-linux-amd64.deb" && \
dpkg -i "rclone-${RCLONE_VERSION}-linux-amd64.deb" && \
--output-document "rclone-${RCLONE_VERSION}-"${TARGETPLATFORM//\//-}".deb" \
"https://downloads.rclone.org/${RCLONE_VERSION}/rclone-${RCLONE_VERSION}-linux-"${TARGETPLATFORM//\//-}".deb" && \
dpkg -i "rclone-${RCLONE_VERSION}-linux-${TARGETPLATFORM//\//-}.deb" && \
chmod +x /usr/local/bin/rclone-config-maker


ENTRYPOINT [ ]
CMD [ "/bin/bash" ]
CMD [ "/bin/bash" ]

0 comments on commit c863aa0

Please sign in to comment.