mumble-moderator/Dockerfile

19 lines
560 B
Docker

FROM debian:buster
RUN \
apt-get update \
&& apt-get install --yes -qq python3 git python3-pip libssl-dev libbz2-dev \
&& pip3 install --no-cache-dir zeroc-ice python-daemon \
&& apt-get purge --yes libssl-dev libbz2-dev python3-pip \
&& apt-get autoremove --yes \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& useradd --system --no-create-home -U mumo
VOLUME ["/data"]
ADD bin/entrypoint.sh /entrypoint.sh
RUN git clone https://github.com/ailox/mumo.git --depth 1
WORKDIR /mumo
CMD ["/entrypoint.sh"]