Skip to content

Commit

Permalink
add custom juicefs build for testing ipv6/dualstack (#153)
Browse files Browse the repository at this point in the history
Co-authored-by: Luke Lombardi <luke@beam.cloud>
  • Loading branch information
luke-lombardi and Luke Lombardi authored Apr 23, 2024
1 parent 63352cc commit 30ae6fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile.gateway
Original file line number Diff line number Diff line change
@@ -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

Expand Down
1 change: 1 addition & 0 deletions internal/storage/juicefs.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30ae6fa

Please sign in to comment.