docker-murmur/Dockerfile

33 lines
1.2 KiB
Docker
Raw Normal View History

FROM alpine:3
2018-10-06 15:25:29 +00:00
ARG VERSION
LABEL \
org.label-schema.vendor="Alexey Skobkin - skobkin-ru@ya.ru" \
org.label-schema.url="https://bitbucket.org/skobkin/docker-murmur-official-static-image/" \
org.label-schema.name="Murmur Server (official static 32-bit build)" \
org.label-schema.version=$VERSION \
org.label-schema.vcs-url="https://skobkin@bitbucket.org/skobkin/docker-murmur-official-static-image.git" \
org.label-schema.license="MIT" \
org.label-schema.schema-version="1.0"
WORKDIR /opt/murmur
RUN set -x \
&& apk add -q --no-cache --virtual .build-deps curl \
&& apk add -q --no-cache shadow tzdata \
&& curl -sSL https://github.com/mumble-voip/mumble/releases/download/${VERSION}/murmur-static_x86-${VERSION}.tar.bz2 -o /tmp/murmur.tar.bz2 \
2018-10-06 15:25:29 +00:00
&& tar -jx -f /tmp/murmur.tar.bz2 --strip-components=1 -C /opt/murmur \
&& mkdir -p /ssl \
&& mkdir -p /config \
&& mkdir -p /data \
&& rm /opt/murmur/murmur.ini \
&& apk del -q --purge .build-deps \
&& rm -rf /tmp/* /var/tmp/* /var/cache/apk/*
EXPOSE 64738/tcp 64738/udp
VOLUME ["/config", "/data", "/ssl"]
2018-10-06 15:39:39 +00:00
ENTRYPOINT ["/opt/murmur/murmur.x86", "-ini", "/config/murmur.ini", "-v", "-fg"]