Mumble docker container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

44 lines
1.3 KiB

# Original maintainer https://hub.docker.com/r/phlak/mumble
# LABEL maintainer="Chris Kankiewicz <Chris@ChrisKankiewicz.com>"
FROM alpine:3.11 AS downloader
LABEL maintainer="Drew Short <warrick@sothr.com>"
ARG MUMBLE_VERSION=1.3.3
ARG MUMBLE_SHA256=5bd9437a80d6f0d84e8c64de71fcf2a80a40c52b85d4eb7461cff69320e7a39c
ARG BZIP_URL=https://github.com/mumble-voip/mumble/releases/download/${MUMBLE_VERSION}/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2
WORKDIR /tmp
RUN mkdir -pv /opt/mumble /etc/mumble
RUN apk add --update ca-certificates bzip2 tar curl
RUN curl -LSo murmur.tar.bz2 ${BZIP_URL} \
&& echo "${MUMBLE_SHA256} /tmp/murmur.tar.bz2" | sha256sum -c \
&& tar -xjf /tmp/murmur.tar.bz2 --strip-components=1 -C /opt/mumble
FROM alpine:3.11
LABEL maintainer="Drew Short <warrick@sothr.com>"
ARG USER_ID=9000
WORKDIR /opt/mumble
RUN mkdir -pv /opt/mumble /etc/mumble
RUN adduser -DHs /sbin/nologin -u ${USER_ID} mumble
COPY --from=downloader /opt/mumble /opt/mumble
COPY files/config.ini /etc/mumble/config.ini
COPY files/supw /usr/local/bin/supw
RUN chmod +x /usr/local/bin/supw
RUN apk add --update ca-certificates tzdata \
&& rm -rf /var/cache/apk/* \
&& chown -R mumble:mumble /etc/mumble /opt/mumble
EXPOSE 64738 64738/udp
USER mumble
VOLUME /etc/mumble
CMD ["/opt/mumble/murmur.x86", "-fg", "-ini", "/etc/mumble/config.ini"]