|
@ -7,6 +7,9 @@ ENV MUMBLE_VERSION 1.2.17 |
|
|
# Create Mumble directories |
|
|
# Create Mumble directories |
|
|
RUN mkdir -pv /opt/mumble /etc/mumble |
|
|
RUN mkdir -pv /opt/mumble /etc/mumble |
|
|
|
|
|
|
|
|
|
|
|
# Create non-root user |
|
|
|
|
|
RUN adduser -DHs /sbin/nologin mumble |
|
|
|
|
|
|
|
|
# Copy config file |
|
|
# Copy config file |
|
|
COPY files/config.ini /etc/mumble/config.ini |
|
|
COPY files/config.ini /etc/mumble/config.ini |
|
|
|
|
|
|
|
@ -22,9 +25,15 @@ RUN apk add --update ca-certificates bzip2 tar tzdata wget \ |
|
|
&& wget -qO- ${BZIP_URL} | tar -xjv --strip-components=1 -C /opt/mumble \ |
|
|
&& wget -qO- ${BZIP_URL} | tar -xjv --strip-components=1 -C /opt/mumble \ |
|
|
&& apk del ca-certificates bzip2 tar wget && rm -rf /var/cache/apk/* |
|
|
&& apk del ca-certificates bzip2 tar wget && rm -rf /var/cache/apk/* |
|
|
|
|
|
|
|
|
|
|
|
# Chown files |
|
|
|
|
|
RUN chown -Rv mumble:mumble /etc/mumble /opt/mumble |
|
|
|
|
|
|
|
|
# Expose ports |
|
|
# Expose ports |
|
|
EXPOSE 64738 64738/udp |
|
|
EXPOSE 64738 64738/udp |
|
|
|
|
|
|
|
|
|
|
|
# Set running user |
|
|
|
|
|
USER mumble |
|
|
|
|
|
|
|
|
# Set volumes |
|
|
# Set volumes |
|
|
VOLUME /etc/mumble |
|
|
VOLUME /etc/mumble |
|
|
|
|
|
|
|
|