File tree 1 file changed +5
-4
lines changed
repositories/rclone/1.66.0
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ LABEL author="Alexis Lucattini" \
5
5
maintainer="alexis.lucattini@umccr.org"
6
6
7
7
ARG RCLONE_VERSION="v1.66.0"
8
+ ARG TARGETPLATFORM
8
9
9
10
ADD rclone-config-maker.py /usr/local/bin/rclone-config-maker
10
11
@@ -14,11 +15,11 @@ RUN apt update -y -q && \
14
15
python3 \
15
16
python3-tomli-w && \
16
17
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" && \
20
21
chmod +x /usr/local/bin/rclone-config-maker
21
22
22
23
23
24
ENTRYPOINT [ ]
24
- CMD [ "/bin/bash" ]
25
+ CMD [ "/bin/bash" ]
You can’t perform that action at this time.
0 commit comments