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.

34 lines
979 B

9 years ago
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. RUN mkdir -pv ${MUMBLE_DIR} ${CONFIG_DIR}
  9. # Copy config file
  10. COPY files/config.ini ${CONFIG_DIR}/config.ini
  11. # Copy SuperUser password update script
  12. COPY files/supw /bin/supw
  13. RUN chmod +x /bin/supw
  14. # Set the zipball 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 wget \
  18. && wget -qO- ${BZIP_URL} | tar -xjv --strip-components=1 -C ${MUMBLE_DIR} \
  19. && apk del ca-certificates bzip2 tar wget && rm -rf /var/cache/apk/*
  20. # Expose ports
  21. EXPOSE 64738 64738/udp
  22. # Set volumes
  23. VOLUME ${CONFIG_DIR}
  24. # Default command
  25. CMD ${MUMBLE_DIR}/murmur.x86 -fg -ini ${CONFIG_DIR}/config.ini