Skip to content

Commit 58e9fc9

Browse files
committed
fix: add .stable suffix to JuiceFS mount path for stable channel
The JuiceFS Python wrapper expects the mount binary to have a channel suffix (.stable or .beta). Without this suffix, it tries to auto-download a non-existent file for arm64 architecture, causing the build to fail.
1 parent 60d89f8 commit 58e9fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker/csi.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ RUN apt-get update && apt-get install -y curl fuse procps iputils-ping strace ip
8484

8585
RUN jfs_mount_path=${JFS_MOUNT_PATH} && \
8686
bash -c "if [[ '${JFSCHAN}' == beta ]]; then curl -sSL https://static.juicefs.com/release/bin_pkgs/beta_full.tar.gz | tar -xz; jfs_mount_path=${JFS_MOUNT_PATH}.beta; \
87-
else curl -sSL https://static.juicefs.com/release/bin_pkgs/latest_stable_full.tar.gz | tar -xz; fi;" && \
87+
else curl -sSL https://static.juicefs.com/release/bin_pkgs/latest_stable_full.tar.gz | tar -xz; jfs_mount_path=${JFS_MOUNT_PATH}.stable; fi;" && \
8888
bash -c "mkdir -p /usr/local/juicefs/mount; if [[ '${TARGETARCH}' == amd64 ]]; then cp Linux/mount.ceph $jfs_mount_path; else cp Linux/mount.aarch64 $jfs_mount_path; fi;" && \
8989
chmod +x ${jfs_mount_path} && cp juicefs.py ${JUICEFS_CLI} && chmod +x ${JUICEFS_CLI}
9090

0 commit comments

Comments
 (0)