-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
66 lines (59 loc) · 1.55 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
FROM ubuntu:18.04
# Tell debconf to run in non-interactive mode
ENV DEBIAN_FRONTEND noninteractive
RUN apt update \
&& apt install -y software-properties-common ca-certificates gnupg apt-transport-https \
&& add-apt-repository ppa:sipe-collab/ppa \
&& add-apt-repository ppa:remmina-ppa-team/remmina-next \
&& apt remove pidgin* --purge \
&& apt full-upgrade -y \
&& apt install -y \
alsa-base \
alsa-oss \
alsa-utils \
dbus-x11 \
farstream-0.2 \
gconf-service \
gstreamer1.0-libav \
gstreamer1.0-nice \
gstreamer1.0-plugins-ugly \
hicolor-icon-theme \
libappindicator1 \
libasound2 \
libcanberra-gtk-module \
libcurl3 \
libexif-dev \
libgl1-mesa-dri \
libgl1-mesa-glx \
libgstreamer-plugins-bad1.0-0 \
libgstreamer-plugins-base1.0-0 \
libgstreamer-plugins-good1.0-0 \
libpango1.0 \
libpulse0 \
libv4l-0 \
libxss1 \
libxtst6 \
pidgin \
pidgin-encryption \
pidgin-extprefs \
pidgin-plugin-pack \
pidgin-sipe \
pulseaudio \
remmina \
remmina-plugin-rdp \
remmina-plugin-secret \
xauth \
xdg-utils \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
COPY run-pidgin-and-wait-for-exit /usr/local/bin
# Make a user
ENV HOME /home/sipe
RUN useradd --create-home --home-dir $HOME sipe \
&& chown -R sipe:sipe $HOME \
&& usermod -a -G audio,video sipe \
&& chmod +x /usr/local/bin/run-pidgin-and-wait-for-exit
WORKDIR $HOME
USER sipe
# Start Pidgin
ENTRYPOINT ["/usr/local/bin/run-pidgin-and-wait-for-exit"]