-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ on: | |
push: | ||
branches: | ||
- master | ||
- fix/dockerfile | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,12 +26,12 @@ 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 && \ | ||
RUN apt-get update && apt-get install -y musl-tools upx-ucl librados-dev libcephfs-dev librbd-dev uuid-dev libglusterfs-dev && \ | ||
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 && \ | ||
cd juicefs && git checkout $JUICEFS_REPO_REF && go get github.com/ceph/[email protected] && go mod tidy && \ | ||
make juicefs.ceph && mv juicefs.ceph juicefs | ||
make juicefs.all && mv juicefs.all juicefs | ||
|
||
FROM python:3.8-slim-buster | ||
|
||
|
@@ -56,7 +56,7 @@ RUN apt update && apt install -y software-properties-common wget gnupg gnupg2 && | |
apt-add-repository 'deb https://download.ceph.com/debian-pacific/ buster main' && \ | ||
apt update | ||
|
||
RUN apt-get update && apt-get install -y librados2 librados-dev libcephfs-dev librbd-dev curl fuse procps iputils-ping strace iproute2 net-tools tcpdump lsof && \ | ||
RUN apt-get update && apt-get install -y librados2 librados-dev libcephfs-dev librbd-dev curl fuse procps iputils-ping strace iproute2 net-tools tcpdump lsof uuid-dev libglusterfs-dev && \ | ||
rm -rf /var/cache/apt/* && \ | ||
curl -sSL https://juicefs.com/static/juicefs -o ${JUICEFS_CLI} && chmod +x ${JUICEFS_CLI} && \ | ||
mkdir -p /root/.juicefs && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,9 +21,9 @@ 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 && \ | ||
RUN apt-get update && apt-get install -y musl-tools upx-ucl librados-dev libcephfs-dev librbd-dev uuid-dev libglusterfs-dev && \ | ||
cd /workspace && git clone --branch=$JUICEFS_REPO_BRANCH $JUICEFS_REPO_URL && \ | ||
cd juicefs && git checkout $JUICEFS_REPO_REF && go get github.com/ceph/[email protected] && go mod tidy && \ | ||
make juicefs.ceph && mv juicefs.ceph juicefs && mv juicefs /usr/local/bin/juicefs | ||
make juicefs.all && mv juicefs.all juicefs && mv juicefs /usr/local/bin/juicefs | ||
|
||
RUN ln -s /usr/local/bin/juicefs /bin/mount.juicefs && /usr/local/bin/juicefs --version |