35 lines
696 B
Docker
35 lines
696 B
Docker
FROM ubuntu:noble
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN \
|
|
apt update && \
|
|
apt install -y --no-install-recommends apt-utils && \
|
|
apt install -y --no-install-recommends tzdata \
|
|
ca-certificates \
|
|
build-essential \
|
|
tini && \
|
|
apt install -y --no-install-recommends \
|
|
dnsutils \
|
|
net-tools \
|
|
nano \
|
|
glusterfs-server \
|
|
glusterfs-client \
|
|
glusterfs-cli \
|
|
glusterfs-common \
|
|
fuse3 \
|
|
libfuse3-3 \
|
|
attr \
|
|
xattr && \
|
|
apt autoremove --purge -y && \
|
|
apt clean -y && \
|
|
rm -rf /tmp/*
|
|
|
|
ADD glusterfs-master.sh /docker/glusterfs-master.sh
|
|
ADD glusterfs-node.sh /docker/glusterfs-node.sh
|
|
|
|
EXPOSE 111 111/udp 24007 24009 49152
|
|
ENV TZ=Europe/Moscow
|
|
STOPSIGNAL SIGINT
|
|
ENTRYPOINT ["tini", "--"]
|