first commit
This commit is contained in:
@ -8,7 +8,7 @@ ENV LC_ALL en_US.UTF-8
|
||||
|
||||
ENV XYZ 1024x768x16
|
||||
ENV TZ "Asia/Shanghai"
|
||||
ENV VNC_PW "vncpassword"
|
||||
ENV VNC_PW "484"
|
||||
ENV DISPLAY :0
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ RUN apt-get -qqy --no-install-recommends install \
|
||||
ttf-wqy-microhei
|
||||
|
||||
#升级系统,安装必要的包,配置VNC密码
|
||||
RUN apt-get -y install xvfb x11vnc fluxbox xdotool git git-core ca-certificates && \
|
||||
RUN apt-get -y install xvfb x11vnc openbox xdotool git git-core ca-certificates && \
|
||||
mkdir ~/.vnc && \
|
||||
touch ~/.vnc/passwd
|
||||
RUN x11vnc -storepasswd $VNC_PW ~/.vnc/passwd
|
||||
@ -38,6 +38,7 @@ RUN apt-get -y install xvfb x11vnc fluxbox xdotool git git-core ca-certificates
|
||||
RUN git clone --recursive https://github.com/novnc/noVNC.git /opt/novnc && \
|
||||
git clone --recursive https://github.com/novnc/websockify.git /opt/novnc/utils/websockify && \
|
||||
ln -s /opt/novnc/vnc.html /opt/novnc/index.html
|
||||
RUN git clone --recursive https://git.n0r.su/n0rdye/novnc /opt/noweb
|
||||
|
||||
#安装firefox
|
||||
RUN echo "deb http://archive.canonical.com/ubuntu/ xenial partner" >> /etc/apt/sources.list && \
|
||||
|
Reference in New Issue
Block a user