Skip to content

Commit

Permalink
Need to pull in binaries of target platform
Browse files Browse the repository at this point in the history
  • Loading branch information
alexiswl committed Jun 7, 2024
1 parent f98def2 commit 0e2a3f7
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 0e2a3f7

Please sign in to comment.