-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
37 lines (31 loc) · 1.09 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
FROM ubuntu:focal
# Add PhasecoreX user-entrypoint script
ADD https://raw.githubusercontent.com/PhasecoreX/docker-user-image/master/user-entrypoint.sh /bin/user-entrypoint
RUN chmod +rx /bin/user-entrypoint && /bin/user-entrypoint --init
ENTRYPOINT ["/bin/user-entrypoint"]
RUN set -eux; \
\
buildDeps='gnupg2'; \
apt-get update; \
apt-get install -y --no-install-recommends $buildDeps; \
apt-key adv --keyserver keyserver.ubuntu.com --recv 85DECED27F05CF9E; \
apt-get purge -y --auto-remove $buildDeps; \
\
echo "deb http://ppa.launchpad.net/mumble/release/ubuntu focal main" >> /etc/apt/sources.list; \
apt-get update; \
apt-get install -y --no-install-recommends \
# https://bugs.launchpad.net/ubuntu/+source/mumble/+bug/1782980
libssl-dev \
mumble-server \
python3-ldap \
python3-zeroc-ice \
supervisor \
zeroc-ice-compilers \
; \
# clean up
rm -rf /var/lib/apt/lists/*
COPY root/ /
VOLUME ["/data", "/config"]
EXPOSE 64738
CMD ["supervisord"]
LABEL maintainer="Ryan Foster <phasecorex@gmail.com>"