Compare commits

..

No commits in common. "351a26a0a721deefef4276bdf183347b8198cc09" and "46d658bfcf8a15e580dcdcc5bf3a0b0b27f384e8" have entirely different histories.

View file

@ -1,4 +1,4 @@
FROM debian:bookworm AS builder
FROM debian:bullseye AS builder
# Build-time dependencies
RUN apt-get update -yqq && apt-get install -yqq \
@ -26,19 +26,20 @@ RUN apt-get update -yqq && apt-get install -yqq \
libxi-dev \
git --no-install-recommends
WORKDIR /usr/src/mumble
WORKDIR /usr/src/murmur
RUN \
git clone https://github.com/mumble-voip/mumble.git . \
&& git checkout master \
&& git submodule init \
&& git submodule update
WORKDIR /usr/src/mumble/build
WORKDIR /usr/src/murmur/build
RUN \
cmake -Dclient=OFF -DCMAKE_BUILD_TYPE=Release -Dgrpc=ON .. \
&& make -j $(nproc)
FROM debian:bookworm
FROM debian:bullseye
EXPOSE 64738/tcp 64738/udp
ENV HOME /home/user
@ -63,12 +64,12 @@ RUN apt-get update && apt-get install -yqq \
libzeroc-ice3.7 \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/src/mumble/build/mumble-server /usr/bin/mumble-server
COPY --from=builder /usr/src/murmur/build/murmurd /usr/bin/murmurd
USER user
COPY --from=builder --chown=user:user /usr/src/mumble/auxiliary_files/mumble-server.ini /data/mumble-server.ini
COPY --from=builder --chown=user:user /usr/src/murmur/scripts/murmur.ini /data/murmur.ini
VOLUME ["/data"]
ENTRYPOINT [ "/usr/bin/mumble-server" ]
CMD [ "-fg", "-v", "-ini", "/data/mumble-server.ini" ]
ENTRYPOINT [ "/usr/bin/murmurd" ]
CMD [ "-fg", "-v", "-ini", "/data/murmur.ini" ]