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.

39 lines
1.1 KiB

9 years ago
5 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.10
  2. LABEL maintainer="Chris Kankiewicz <Chris@ChrisKankiewicz.com>"
  3. # Define Mumble version
  4. ARG MUMBLE_VERSION=1.3.0
  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. ARG BZIP_URL=https://github.com/mumble-voip/mumble/releases/download/${MUMBLE_VERSION}/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2
  16. # Install dependencies, fetch Mumble bzip archive and chown files
  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 -R mumble:mumble /etc/mumble /opt/mumble
  21. # Expose ports
  22. EXPOSE 64738 64738/udp
  23. # Set running user
  24. USER mumble
  25. # Set volumes
  26. VOLUME /etc/mumble
  27. # Default command
  28. CMD ["/opt/mumble/murmur.x86", "-fg", "-ini", "/etc/mumble/config.ini"]