Merge pull request 'update dockerfile for debian 12 update' (#1) from debian_update into master

Reviewed-on: #1
This commit is contained in:
bsod 2024-02-13 22:33:06 +01:00
commit 56bb7d5a14

View file

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