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.

41 lines
1.1 KiB

9 years ago
9 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. FROM alpine:3.4
  2. MAINTAINER Chris Kankiewicz <Chris@ChrisKankiewicz.com>
  3. # Define Mumble version
  4. ENV MUMBLE_VERSION 1.2.17
  5. # Create Mumble directories
  6. RUN mkdir -pv /opt/mumble /etc/mumble
  7. # Create non-root user
  8. RUN adduser -DHs /sbin/nologin mumble
  9. # Copy config file
  10. COPY files/config.ini /etc/mumble/config.ini
  11. # Copy SuperUser password update script
  12. COPY files/supw /usr/local/bin/supw
  13. RUN chmod +x /usr/local/bin/supw
  14. # Set the bzip archive URL
  15. ENV BZIP_URL https://github.com/mumble-voip/mumble/releases/download/${MUMBLE_VERSION}/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2
  16. # Install dependencies and fetch Mumble bzip archive
  17. RUN apk add --update ca-certificates bzip2 tar tzdata wget \
  18. && wget -qO- ${BZIP_URL} | tar -xjv --strip-components=1 -C /opt/mumble \
  19. && apk del ca-certificates bzip2 tar wget && rm -rf /var/cache/apk/*
  20. # Chown files
  21. RUN chown -Rv mumble:mumble /etc/mumble /opt/mumble
  22. # Expose ports
  23. EXPOSE 64738 64738/udp
  24. # Set running user
  25. USER mumble
  26. # Set volumes
  27. VOLUME /etc/mumble
  28. # Default command
  29. CMD ["/opt/mumble/murmur.x86", "-fg", "-ini", "/etc/mumble/config.ini"]