Skip to content

Commit 9d6b1c9

Browse files
authored
HDDS-13333. Downgrade rclone to 1.69 (#48)
1 parent 8562aa6 commit 9d6b1c9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,15 @@ RUN sudo python3 -m pip install --upgrade pip
6060
COPY --from=go /go/bin/csc /usr/bin/csc
6161

6262
# Install rclone for smoketest
63+
ARG RCLONE_VERSION=1.69.3
6364
RUN 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

0 commit comments

Comments
 (0)