Skip to content

Commit

Permalink
fix ee gluster image
Browse files Browse the repository at this point in the history
  • Loading branch information
zwwhdls committed Jul 28, 2023
1 parent bef5de7 commit b143c50
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/ee.juicefs.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,16 @@ ARG JFSCHAN

WORKDIR /app

ARG TARGETARCH
ENV JUICEFS_CLI=/usr/bin/juicefs
ENV JFS_MOUNT_PATH=/usr/local/juicefs/mount/jfsmount
ENV JFSCHAN=${JFSCHAN}

RUN apt-get update && apt-get install -y librados2 curl fuse procps iputils-ping strace iproute2 net-tools tcpdump lsof && \
RUN apt update && apt install -y software-properties-common wget gnupg gnupg2 && bash -c "if [[ ${TARGETARCH} == amd64 ]]; then wget -O - https://download.gluster.org/pub/gluster/glusterfs/7/rsa.pub | apt-key add - && \
echo deb [arch=${TARGETARCH}] https://download.gluster.org/pub/gluster/glusterfs/7/LATEST/Debian/buster/${TARGETARCH}/apt buster main > /etc/apt/sources.list.d/gluster.list && \
apt-get update && apt-get install -y uuid-dev libglusterfs-dev glusterfs-common; fi"

RUN apt-get update && apt-get install -y librados2 curl fuse procps iputils-ping strace iproute2 net-tools tcpdump lsof librados-dev libcephfs-dev librbd-dev && \
rm -rf /var/cache/apt/* && \
curl -sSL https://juicefs.com/static/juicefs -o ${JUICEFS_CLI} && chmod +x ${JUICEFS_CLI} && \
mkdir -p /root/.juicefs && \
Expand Down

0 comments on commit b143c50

Please sign in to comment.