echonesis commented on code in PR #50:
URL: 
https://github.com/apache/ozone-docker-runner/pull/50#discussion_r2212137065


##########
Dockerfile:
##########
@@ -57,7 +42,19 @@ RUN set -eux ; \
     && ln -sf /usr/bin/python3 /usr/bin/python
 RUN sudo python3 -m pip install --upgrade pip
 
+# CSI / k8s / fuse / goofys dependency
 COPY --from=go /go/bin/csc /usr/bin/csc
+# S3 FUSE support
+RUN set -eux ; \
+    ARCH="$(arch)"; \
+    case "${ARCH}" in \
+        x86_64)  arch='x86_64' ;; \
+        aarch64) arch='arm64' ;; \
+        *) echo "Unsupported architecture: ${ARCH}"; exit 1 ;; \
+    esac; \
+    curl -L -o /tmp/mount-s3.rpm 
"https://s3.amazonaws.com/mountpoint-s3-release/latest/${arch}/mount-s3.rpm";; \
+    dnf install -y /tmp/mount-s3.rpm; \
+    rm -f /tmp/mount-s3.rpm

Review Comment:
   Thanks @jojochuang , it's a better solution.
   I will modify it ASAP.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to