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.
32 lines
927 B
32 lines
927 B
FROM alpine:3.3
|
|
MAINTAINER Chris Kankiewicz <Chris@ChrisKankiewicz.com>
|
|
|
|
# Define Mumble version
|
|
ENV MUMBLE_VERSION 1.2.13
|
|
|
|
# Create Mumble directories
|
|
RUN mkdir -pv /opt/mumble /etc/mumble
|
|
|
|
# Copy config file
|
|
COPY files/config.ini /etc/mumble/config.ini
|
|
|
|
# Copy SuperUser password update script
|
|
COPY files/supw /bin/supw
|
|
RUN chmod +x /bin/supw
|
|
|
|
# Set the bzip archive URL
|
|
ENV BZIP_URL https://github.com/mumble-voip/mumble/releases/download/${MUMBLE_VERSION}/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2
|
|
|
|
# Install dependencies and fetch Mumble bzip archive
|
|
RUN apk add --update ca-certificates bzip2 tar wget \
|
|
&& wget -qO- ${BZIP_URL} | tar -xjv --strip-components=1 -C /opt/mumble \
|
|
&& apk del ca-certificates bzip2 tar wget && rm -rf /var/cache/apk/*
|
|
|
|
# Expose ports
|
|
EXPOSE 64738 64738/udp
|
|
|
|
# Set volumes
|
|
VOLUME /etc/mumble
|
|
|
|
# Default command
|
|
CMD ["/opt/mumble/murmur.x86", "-fg", "-ini", "/etc/mumble/config.ini"]
|