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.

42 lines
1.3 KiB

9 years ago
5 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.0
  6. ARG MUMBLE_SHA256=bda9dc3abe70e8dc820cc91aa33c4087b05001ab7995d039311b3396b7291609
  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. WORKDIR /opt/mumble
  17. RUN mkdir -pv /opt/mumble /etc/mumble
  18. RUN adduser -DHs /sbin/nologin mumble
  19. COPY --from=downloader /opt/mumble /opt/mumble
  20. COPY files/config.ini /etc/mumble/config.ini
  21. COPY files/supw /usr/local/bin/supw
  22. RUN chmod +x /usr/local/bin/supw
  23. RUN apk add --update ca-certificates \
  24. && rm -rf /var/cache/apk/* \
  25. && chown -R mumble:mumble /etc/mumble /opt/mumble
  26. EXPOSE 64738 64738/udp
  27. USER mumble
  28. VOLUME /etc/mumble
  29. CMD ["/opt/mumble/murmur.x86", "-fg", "-ini", "/etc/mumble/config.ini"]