Use bullseye as base image, add default config
This commit is contained in:
parent
a46668394d
commit
c3ad15a11f
1 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM debian:buster AS builder
|
||||
FROM debian:bullseye AS builder
|
||||
|
||||
# Build-time dependencies
|
||||
RUN apt-get update -yqq && apt-get install -yqq \
|
||||
|
@ -39,7 +39,7 @@ RUN \
|
|||
&& make -j $(nproc)
|
||||
|
||||
|
||||
FROM debian:buster
|
||||
FROM debian:bullseye
|
||||
EXPOSE 64738/tcp 64738/udp
|
||||
|
||||
ENV HOME /home/user
|
||||
|
@ -67,5 +67,9 @@ COPY --from=builder /usr/src/murmur/release/murmurd /usr/bin/murmurd
|
|||
|
||||
USER user
|
||||
|
||||
RUN mkdir /data
|
||||
COPY --from=builder --chown=user:user /usr/src/murmur/scripts/murmur.ini /data/murmur.ini
|
||||
VOLUME ["/data"]
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/murmurd" ]
|
||||
CMD [ "-fg", "-v", "-ini", "/data/murmur.ini" ]
|
||||
|
|
Loading…
Reference in a new issue