Skip to content

Commit

Permalink
HDDS-5045. Add rclone package for robot test (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptlrs authored Dec 15, 2024
1 parent 19d55c4 commit 6c88cfc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,19 @@ RUN sudo python3 -m pip install --upgrade pip

COPY --from=go /go/bin/csc /usr/bin/csc

# Install rclone for smoketest
RUN set -eux ; \
ARCH="$(arch)" ; \
case "${ARCH}" in \
x86_64) url='https://downloads.rclone.org/rclone-current-linux-amd64.rpm' ;; \
aarch64) url='https://downloads.rclone.org/rclone-current-linux-arm64.rpm' ;; \
*) echo "Unsupported architecture: ${ARCH}"; exit 1 ;; \
esac; \
curl -L -o /tmp/package.rpm "${url}"; \
dnf install -y /tmp/package.rpm; \
rm -f /tmp/package.rpm


#For executing inline smoketest
RUN set -eux ; \
pip3 install awscli robotframework==6.1.1 boto3 ; \
Expand Down

0 comments on commit 6c88cfc

Please sign in to comment.