# Original maintainer https://hub.docker.com/r/phlak/mumble # LABEL maintainer="Chris Kankiewicz " FROM alpine:3.11 AS downloader LABEL maintainer="Drew Short " ARG MUMBLE_VERSION=1.3.0 ARG MUMBLE_SHA256=bda9dc3abe70e8dc820cc91aa33c4087b05001ab7995d039311b3396b7291609 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 " 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"]