-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathDockerfile
35 lines (30 loc) · 1.01 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
FROM ubuntu:16.04
MAINTAINER yen3 <[email protected]>
ENV DEBIAN_FRONTEND noninteractive
ENV HOME /root
RUN apt-get update \
&& apt-get install -y --force-yes --no-install-recommends supervisor \
openssh-server pwgen sudo vim-tiny \
net-tools \
lxde x11vnc x11vnc-data xvfb \
gtk2-engines-murrine ttf-ubuntu-font-family \
libreoffice firefox \
fonts-wqy-microhei \
language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw \
nginx \
python-pip python-dev build-essential \
&& apt-get autoclean \
&& apt-get autoremove \
&& rm -rf /var/lib/apt/lists/*
ADD web /web/
ADD get-pip.py /get-pip.py
RUN python get-pip.py
RUN /usr/local/bin/pip install -r /web/requirements.txt
ADD noVNC /noVNC/
ADD nginx.conf /etc/nginx/sites-enabled/default
ADD startup.sh /
ADD supervisord.conf /etc/supervisor/conf.d/
ADD doro-lxde-wallpapers /usr/share/doro-lxde-wallpapers/
EXPOSE 6080
WORKDIR /root
ENTRYPOINT ["/startup.sh"]