-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
39 lines (32 loc) · 2.16 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM debian:stretch
MAINTAINER Guillaume CONNAN "[email protected]"
LABEL version="0.3.6" \
mumble_version="1.2.18-1"
ENV DEBIAN_FRONTEND noninteractive
RUN ( \
echo "deb http://deb.debian.org/debian stretch main contrib non-free" \
> /etc/apt/sources.list && \
echo "deb http://deb.debian.org/debian stretch-updates main contrib non-free" \
>> /etc/apt/sources.list && \
echo "deb http://security.debian.org stretch/updates main contrib non-free" \
>> /etc/apt/sources.list && \
apt-get update && \
apt-get -y -q upgrade && \
apt-get -y -q dist-upgrade && \
apt-get -y -q autoclean && \
apt-get -y -q autoremove && \
apt-get -y -q install sudo \
mumble-server && \
mkdir -p /mumble-server && \
chown -R mumble-server:mumble-server /mumble-server && \
apt-get clean && \
rm -fr /tmp/* && \
rm -fr /var/tmp/* && \
rm -fr /var/lib/apt/lists/* \
)
ADD scripts/start.sh /start.sh
# Expose port and volume
EXPOSE 64738
VOLUME ["/mumble-server"]
# Init
CMD ["/bin/bash", "/start.sh"]