-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (22 loc) · 838 Bytes
/
Dockerfile
File metadata and controls
22 lines (22 loc) · 838 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:16.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get install -y curl software-properties-common && \
curl http://winswitch.org/gpg.asc | apt-key add - && \
echo "deb http://winswitch.org/ xenial main" > /etc/apt/sources.list.d/winswitch.list && \
add-apt-repository universe && \
apt-get update && \
apt-get install -y xpra xubuntu-desktop chromium-browser xnest && \
mv /usr/bin/chromium-browser /usr/bin/chromium-browser.real && \
adduser user < /dev/null && \
apt-get autoclean -y && \
apt-get clean -y && \
apt-get autoremove -y && \
rm -rf /var/lib/apt/lists/*
ADD chromium-browser /usr/bin/
ADD start.sh /usr/local/bin/
ADD xubuntu-sudoers /etc/sudoers.d/
USER user
ENTRYPOINT [ "/usr/local/bin/start.sh" ]
CMD [ ]