first commit

This commit is contained in:
2024-11-29 04:34:34 +00:00
parent 41bc80d519
commit d52919b4c4
3 changed files with 29 additions and 10 deletions

View File

@ -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 && \