This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone-docker-runner.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c88cfc  HDDS-5045. Add rclone package for robot test (#37)
6c88cfc is described below

commit 6c88cfcc9d7afa2f99536c6e1e96e69f4513230f
Author: Rishabh Patel <[email protected]>
AuthorDate: Sun Dec 15 12:53:42 2024 -0800

    HDDS-5045. Add rclone package for robot test (#37)
---
 Dockerfile | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index 49d565b..d2c8964 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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 ; \


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to