diff --git a/docker/Dockerfile.gateway b/docker/Dockerfile.gateway index a8aa0fec9..df086c733 100644 --- a/docker/Dockerfile.gateway +++ b/docker/Dockerfile.gateway @@ -1,8 +1,9 @@ FROM golang:1.21-bullseye as base RUN apt-get update && \ - apt-get install -y --no-install-recommends fuse3 && \ - curl -sSL https://d.juicefs.com/install | sh - + apt-get install -y --no-install-recommends fuse3 + +RUN curl -L https://beam-runner-python-deps.s3.amazonaws.com/juicefs -o /usr/local/bin/juicefs && chmod +x /usr/local/bin/juicefs RUN curl -fsSL https://tailscale.com/install.sh | sh diff --git a/internal/storage/juicefs.go b/internal/storage/juicefs.go index 742873d2b..ca2d3ec2c 100644 --- a/internal/storage/juicefs.go +++ b/internal/storage/juicefs.go @@ -37,6 +37,7 @@ func (s *JuiceFsStorage) Mount(localPath string) error { "--cache-size", cacheSize, "--no-bgjob", + "--no-usage-report", ) // Start the mount command in the background