echonesis commented on code in PR #50:
URL:
https://github.com/apache/ozone-docker-runner/pull/50#discussion_r2215600087
##########
Dockerfile:
##########
@@ -57,7 +42,20 @@ 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 - mountpoint-s3
+ARG MOUNTPOINT_S3_VERSION=1.19.0
+RUN set -eux ; \
+ ARCH="$(arch)"; \
+ case "${ARCH}" in \
+ x86_64)
url="https://s3.amazonaws.com/mountpoint-s3-release/${MOUNTPOINT_S3_VERSION}/x86_64/mount-s3-${MOUNTPOINT_S3_VERSION}-x86_64.rpm"
;; \
+ aarch64)
url="https://s3.amazonaws.com/mountpoint-s3-release/${MOUNTPOINT_S3_VERSION}/arm64/mount-s3-${MOUNTPOINT_S3_VERSION}-arm64.rpm"
;; \
+ *) echo "Unsupported architecture: ${ARCH}"; exit 1 ;; \
+ esac; \
+ curl -L ${url} -o mount-s3.rpm ; \
Review Comment:
Thanks @adoroszlai for reviewing the duplication issue.
--
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]