This commit is contained in:
岳松
2016-09-30 14:23:52 +08:00
parent e2fae7e5cf
commit dbdd410062

View File

@@ -10,5 +10,6 @@ RUN wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.635/insta
&& cp flash_player/libflashplayer.so ~/.mozilla/plugins/ \
&& rm -rf flash_player install_flash_player_11_linux.x86_64.tar.gz /tmp/.X11-unix/*
ADD ./conf/xstartup /root/.vnc/xstartup
RUN echo "xiaosong" | /usr/bin/vncpasswd -f > /root/.vnc/passwd
EXPOSE 5901
ENTRYPOINT ["/usr/bin/vncserver", ":1", "-geometry 1280x720", "-depth 24"]
ENTRYPOINT ["service", "vncserver", "start"]