diff --git a/docker/Dockerfile b/docker/Dockerfile index 07a78bd89e..c5f4612cf2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -27,6 +27,8 @@ RUN apt update && apt install -y software-properties-common && apt update && \ WORKDIR /workspace ENV GOPROXY=${GOPROXY:-https://proxy.golang.org} RUN apt-get update && apt-get install -y musl-tools upx-ucl librados-dev libcephfs-dev librbd-dev uuid-dev libglusterfs-dev && \ + wget -O /home/travis/.m2/foundationdb-clients_6.3.23-1_amd64.deb https://github.com/apple/foundationdb/releases/download/6.3.23/foundationdb-clients_6.3.23-1_amd64.deb && \ + sudo dpkg -i /home/travis/.m2/foundationdb-clients_6.3.23-1_amd64.deb /home/travis/.m2/foundationdb-server_6.3.23-1_amd64.deb && \ git clone https://github.com/juicedata/juicefs-csi-driver && \ cd juicefs-csi-driver && git checkout $JUICEFS_CSI_REPO_REF && make && \ cd /workspace && git clone --branch=$JUICEFS_REPO_BRANCH https://github.com/juicedata/juicefs && \ diff --git a/docker/ce.juicefs.Dockerfile b/docker/ce.juicefs.Dockerfile index 0562a82fe4..33526e7030 100644 --- a/docker/ce.juicefs.Dockerfile +++ b/docker/ce.juicefs.Dockerfile @@ -22,6 +22,8 @@ ARG JUICEFS_REPO_REF=${JUICEFS_REPO_BRANCH} WORKDIR /workspace ENV GOPROXY=${GOPROXY:-https://proxy.golang.org} RUN apt-get update && apt-get install -y musl-tools upx-ucl librados-dev libcephfs-dev librbd-dev uuid-dev libglusterfs-dev && \ + wget -O /home/travis/.m2/foundationdb-clients_6.3.23-1_amd64.deb https://github.com/apple/foundationdb/releases/download/6.3.23/foundationdb-clients_6.3.23-1_amd64.deb && \ + sudo dpkg -i /home/travis/.m2/foundationdb-clients_6.3.23-1_amd64.deb /home/travis/.m2/foundationdb-server_6.3.23-1_amd64.deb && \ cd /workspace && git clone --branch=$JUICEFS_REPO_BRANCH $JUICEFS_REPO_URL && \ cd juicefs && git checkout $JUICEFS_REPO_REF && go get github.com/ceph/go-ceph@v0.4.0 && go mod tidy && \ make juicefs.all && mv juicefs.all juicefs && mv juicefs /usr/local/bin/juicefs