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

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


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

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

    HDDS-5045. Add rclone package for robot test (#37)
    
    (cherry picked from commit 6c88cfcc9d7afa2f99536c6e1e96e69f4513230f)
---
 Dockerfile | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/Dockerfile b/Dockerfile
index e3cdede..c6fadf1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -59,6 +59,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