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

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. # Original maintainer https://hub.docker.com/r/phlak/mumble
  2. # LABEL maintainer="Chris Kankiewicz <Chris@ChrisKankiewicz.com>"
  3. FROM alpine:3.11 AS downloader
  4. LABEL maintainer="Drew Short <warrick@sothr.com>"
  5. ARG MUMBLE_VERSION=1.3.3
  6. ARG MUMBLE_SHA256=5bd9437a80d6f0d84e8c64de71fcf2a80a40c52b85d4eb7461cff69320e7a39c
  7. ARG BZIP_URL=https://github.com/mumble-voip/mumble/releases/download/${MUMBLE_VERSION}/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2
  8. WORKDIR /tmp
  9. RUN mkdir -pv /opt/mumble /etc/mumble
  10. RUN apk add --update ca-certificates bzip2 tar curl
  11. RUN curl -LSo murmur.tar.bz2 ${BZIP_URL} \
  12. && echo "${MUMBLE_SHA256} /tmp/murmur.tar.bz2" | sha256sum -c \
  13. && tar -xjf /tmp/murmur.tar.bz2 --strip-components=1 -C /opt/mumble
  14. FROM alpine:3.11
  15. LABEL maintainer="Drew Short <warrick@sothr.com>"
  16. ARG USER_ID=9000
  17. WORKDIR /opt/mumble
  18. RUN mkdir -pv /opt/mumble /etc/mumble
  19. RUN adduser -DHs /sbin/nologin -u ${USER_ID} mumble
  20. COPY --from=downloader /opt/mumble /opt/mumble
  21. COPY files/config.ini /etc/mumble/config.ini
  22. COPY files/supw /usr/local/bin/supw
  23. RUN chmod +x /usr/local/bin/supw
  24. RUN apk add --update ca-certificates tzdata \
  25. && rm -rf /var/cache/apk/* \
  26. && chown -R mumble:mumble /etc/mumble /opt/mumble
  27. EXPOSE 64738 64738/udp
  28. USER mumble
  29. VOLUME /etc/mumble
  30. CMD ["/opt/mumble/murmur.x86", "-fg", "-ini", "/etc/mumble/config.ini"]