This commit is contained in:
岳松
2016-10-18 16:00:26 +08:00
parent 2ebf4e8d9b
commit a722ed0af5
2 changed files with 11 additions and 9 deletions

View File

@@ -1,11 +1,9 @@
FROM ubuntu:14.04
RUN apt-get update \
&& apt-get install -y wget firefox lxde-core lxterminal tightvncserver
ENV VNCPWD=xiaosong
RUN && mkdir ~/.vnc \
&& echo $VNCPWD $VNCPWD | vncpasswd && \
&& wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.635/install_flash_player_11_linux.x86_64.tar.gz \
&& apt-get install -y wget firefox xfce4 vnc4server
ENV DISPLAY=":1" VNC_COL_DEPTH=24 VNC_RESOLUTION=1280x800 VNC_PW=xiaosong
RUN wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.635/install_flash_player_11_linux.x86_64.tar.gz \
&& mkdir flash_player \
&& tar zxvf install_flash_player_11_linux.x86_64.tar.gz -C flash_player \
&& mkdir -p ~/.mozilla/plugins/ \