-
Notifications
You must be signed in to change notification settings - Fork 85
/
Dockerfile
68 lines (57 loc) · 1.47 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
67
68
FROM ubuntu:16.04
ENV DEBIAN_FRONTEND=noninteractive
RUN set -ex; \
apt-get update \
&& apt-get install -y --no-install-recommends \
ubuntu-desktop \
unity-lens-applications \
gnome-panel \
metacity \
nautilus \
gedit \
xterm \
sudo \
firefox \
bash \
net-tools \
novnc \
socat \
x11vnc \
gnome-panel \
gnome-terminal \
xvfb \
supervisor \
net-tools \
curl \
git \
wget \
libtasn1-3-bin \
libglu1-mesa \
libqt5webkit5 \
libqt5x11extras5 \
qml-module-qtquick-controls \
qml-module-qtquick-dialogs \
&& apt-get autoclean \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/*
ENV HOME=/root \
DEBIAN_FRONTEND=noninteractive \
LANG=en_US.UTF-8 \
LANGUAGE=en_US.UTF-8 \
LC_ALL=C.UTF-8 \
DISPLAY=:0.0 \
DISPLAY_WIDTH=1024 \
DISPLAY_HEIGHT=768 \
RUN_XTERM=yes \
RUN_UNITY=yes
RUN adduser ubuntu
RUN echo "ubuntu:ubuntu" | chpasswd && \
adduser ubuntu sudo && \
sudo usermod -a -G sudo ubuntu
RUN wget https://download.teamviewer.com/download/linux/teamviewer_amd64.deb && apt install ./teamviewer_amd64.deb
RUN sudo add-apt-repository ppa:obsproject/obs-studio \
&& sudo apt-get update && sudo apt-get install -y obs-studio
COPY . /app
RUN chmod +x /app/conf.d/websockify.sh
USER ubuntu
CMD ["/app/run.sh"]