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.

35 lines
955 B

9 years ago
9 years ago
9 years ago
9 years ago
  1. FROM alpine:3.3
  2. MAINTAINER Chris Kankiewicz <Chris@ChrisKankiewicz.com>
  3. # Define Mumble version
  4. ENV MUMBLE_VERSION 1.2.12
  5. # Create Mumble directories
  6. ENV MUMBLE_DIR /opt/mumble
  7. ENV CONFIG_DIR /srv/mumble
  8. ENV SCRIPTS_DIR /srv/scripts
  9. RUN mkdir -pv ${MUMBLE_DIR} ${CONFIG_DIR}
  10. # Copy config file
  11. COPY files/config.ini ${CONFIG_DIR}/config.ini
  12. # Copy SuperUser password update script
  13. COPY files/update-pw ${SCRIPTS_DIR}/update-pw
  14. RUN chmod +x ${SCRIPTS_DIR}/update-pw
  15. # Install dependencies
  16. RUN apk add --update ca-certificates bzip2 tar wget \
  17. && rm -rf /var/cache/apk/*
  18. # Download and extract Mumble
  19. RUN wget -qO- https://github.com/mumble-voip/mumble/releases/download/${MUMBLE_VERSION}/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2 \
  20. | tar -xjv --strip-components=1 -C ${MUMBLE_DIR}
  21. # Expose ports
  22. EXPOSE 64738 64738/udp
  23. # Set volumes
  24. VOLUME ${CONFIG_DIR}
  25. # Default command
  26. CMD ${MUMBLE_DIR}/murmur.x86 -fg -ini ${CONFIG_DIR}/config.ini