-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (18 loc) · 765 Bytes
/
Dockerfile
File metadata and controls
22 lines (18 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM ubuntu:trusty
MAINTAINER Alex Johnson <alex@cldfzn.com>
# Add mumble ppa and install necessary packages for murmur
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7F05CF9E && \
echo "deb http://ppa.launchpad.net/mumble/release/ubuntu $(lsb_release -cs) main" \
> /etc/apt/sources.list.d/mumble-release.list && \
apt-get -qq update && \
apt-get -qqy install mumble-server && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Add configuration files
ADD mumble-server.ini /config/mumble-server.ini
# Set permissions for config directory
RUN chown mumble-server:mumble-server -R /config
USER mumble-server
VOLUME ["/config"]
EXPOSE 6502 64738/tcp 64738/udp
CMD ["murmurd", "-fg", "-ini", "/config/mumble-server.ini"]