|
@ -1,6 +1,9 @@ |
|
|
FROM alpine:3.2 |
|
|
FROM alpine:3.2 |
|
|
MAINTAINER Chris Kankiewicz <Chris@ChrisKankiewicz.com> |
|
|
MAINTAINER Chris Kankiewicz <Chris@ChrisKankiewicz.com> |
|
|
|
|
|
|
|
|
|
|
|
# Define Mumble version |
|
|
|
|
|
ENV MUMBLE_VERSION 1.2.12 |
|
|
|
|
|
|
|
|
# Create Mumble directories |
|
|
# Create Mumble directories |
|
|
ENV MUMBLE_DIR /opt/mumble |
|
|
ENV MUMBLE_DIR /opt/mumble |
|
|
ENV CONFIG_DIR /srv/mumble |
|
|
ENV CONFIG_DIR /srv/mumble |
|
@ -15,12 +18,11 @@ COPY files/update-pw ${SCRIPTS_DIR}/update-pw |
|
|
RUN chmod +x ${SCRIPTS_DIR}/update-pw |
|
|
RUN chmod +x ${SCRIPTS_DIR}/update-pw |
|
|
|
|
|
|
|
|
# Install dependencies |
|
|
# Install dependencies |
|
|
RUN apk add --update ca-certificates bzip2 jq tar wget \ |
|
|
|
|
|
|
|
|
RUN apk add --update ca-certificates bzip2 tar wget \ |
|
|
&& rm -rf /var/cache/apk/* |
|
|
&& rm -rf /var/cache/apk/* |
|
|
|
|
|
|
|
|
# Download and extract Mumble |
|
|
# Download and extract Mumble |
|
|
RUN MUMBLE_VERSION=$(wget -qO- https://api.github.com/repos/mumble-voip/mumble/releases | jq -r '.[0].tag_name') \ |
|
|
|
|
|
&& wget -qO- https://github.com/mumble-voip/mumble/releases/download/${MUMBLE_VERSION}/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2 \ |
|
|
|
|
|
|
|
|
RUN wget -qO- https://github.com/mumble-voip/mumble/releases/download/${MUMBLE_VERSION}/murmur-static_x86-${MUMBLE_VERSION}.tar.bz2 \ |
|
|
| tar -xjv --strip-components=1 -C ${MUMBLE_DIR} |
|
|
| tar -xjv --strip-components=1 -C ${MUMBLE_DIR} |
|
|
|
|
|
|
|
|
# Expose ports |
|
|
# Expose ports |
|
|