update dockerfile for debian 12 update

This commit is contained in:
bsod 2024-02-13 20:20:05 +01:00
parent 2f650d1a99
commit 06ece895b7

View file

@ -1,11 +1,8 @@
FROM debian:buster
FROM debian:bookworm
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 install --yes --no-install-recommends -qq python3 git python3-daemon python3-zeroc-ice zeroc-ice-slice \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& useradd --system --no-create-home -U mumo
@ -13,7 +10,7 @@ VOLUME ["/data"]
ADD bin/entrypoint.sh /entrypoint.sh
RUN git clone https://github.com/ailox/mumo.git --depth 1
RUN git clone https://github.com/mumble-voip/mumo.git --depth 1
WORKDIR /mumo
CMD ["/entrypoint.sh"]