Skip to content

Commit c863aa0

Browse files
authored
Merge pull request #38 from umccr/enhancement/add-rclone-maker
Need to pull in binaries of target platform
2 parents f98def2 + 0e2a3f7 commit c863aa0

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

repositories/rclone/1.66.0/Dockerfile

+5-4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ LABEL author="Alexis Lucattini" \
55
maintainer="alexis.lucattini@umccr.org"
66

77
ARG RCLONE_VERSION="v1.66.0"
8+
ARG TARGETPLATFORM
89

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

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

2223

2324
ENTRYPOINT [ ]
24-
CMD [ "/bin/bash" ]
25+
CMD [ "/bin/bash" ]

0 commit comments

Comments
 (0)