File tree Expand file tree Collapse file tree 2 files changed +12
-36
lines changed
Expand file tree Collapse file tree 2 files changed +12
-36
lines changed Original file line number Diff line number Diff line change 1- FROM debian:stretch
1+ FROM debian:buster
22
3- # Install wget, lsb-release, curl, fuse and tree
4- RUN apt-get update && apt-get upgrade -y && apt-get install -y wget lsb-release curl fuse libfuse2 net-tools gnupg2 systemd tree
3+ # Install libraries
4+ RUN apt-get update && apt-get install -y wget fuse3 libfuse3-3 gnupg2 python3
55
66# Add key
7- RUN wget -O - http://ppa.moosefs.com/moosefs.key | apt-key add -
8- RUN echo "deb http://ppa.moosefs.com/moosefs-3/apt/$(awk -F= '$1==" ID " { print $2 ;}' /etc/os-release)/$(lsb_release -sc) $(lsb_release -sc) main" > /etc/apt/sources.list.d/moosefs.list
7+ RUN wget -O - http://ppa.moosefs.com/moosefs.key 2>/dev/null | apt-key add - 2>/dev/null
8+ RUN echo "deb http://ppa.moosefs.com/moosefs-3/apt/debian/buster buster main" > /etc/apt/sources.list.d/moosefs.list
99
10- # Install MooseFS client
11- RUN apt-get update && apt-get install -y moosefs-client
10+ # Install MooseFS client and cli
11+ RUN apt-get update && apt-get install -y moosefs-client moosefs-cli
1212
13- # Add and run start script
14- ADD start-client.sh /home/start-client.sh
15- RUN chown root:root /home/start-client.sh
16- RUN chmod 700 /home/start-client.sh
13+ # Make a moosefs mountpoint
14+ RUN mkdir -p /mnt/moosefs
1715
18- CMD ["/home/start-client.sh" , "-bash" ]
16+ EXPOSE 9419 9420 9421 9422
17+
18+ CMD ["mfsmount" , "-f" , "/mnt/moosefs" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments