File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -60,14 +60,15 @@ RUN sudo python3 -m pip install --upgrade pip
6060COPY --from=go /go/bin/csc /usr/bin/csc
6161
6262# Install rclone for smoketest
63+ ARG RCLONE_VERSION=1.69.3
6364RUN set -eux ; \
6465 ARCH="$(arch)" ; \
6566 case "${ARCH}" in \
66- x86_64) url= 'https://downloads.rclone.org/rclone-current-linux- amd64.rpm ' ;; \
67- aarch64) url= 'https://downloads.rclone.org/rclone-current-linux- arm64.rpm ' ;; \
67+ x86_64) arch= ' amd64' ;; \
68+ aarch64) arch= ' arm64' ;; \
6869 *) echo "Unsupported architecture: ${ARCH}" ; exit 1 ;; \
6970 esac; \
70- curl -L -o /tmp/package.rpm "${url} " ; \
71+ curl -L -o /tmp/package.rpm "https://downloads.rclone.org/v${RCLONE_VERSION}/rclone-v${RCLONE_VERSION}-linux-${arch}.rpm " ; \
7172 dnf install -y /tmp/package.rpm; \
7273 rm -f /tmp/package.rpm
7374
You can’t perform that action at this time.
0 commit comments