Files
vagex/Dockerfile

15 lines
619 B
Docker
Raw Normal View History

2016-10-18 15:25:20 +08:00
FROM ubuntu:14.04
2016-10-16 08:48:40 +08:00
RUN apt-get update \
2016-10-18 16:00:26 +08:00
&& 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 \
2016-10-16 08:48:40 +08:00
&& mkdir flash_player \
&& tar zxvf install_flash_player_11_linux.x86_64.tar.gz -C flash_player \
&& mkdir -p ~/.mozilla/plugins/ \
&& cp flash_player/libflashplayer.so ~/.mozilla/plugins/ \
&& rm -rf flash_player install_flash_player_11_linux.x86_64.tar.gz
2016-10-18 15:25:20 +08:00
EXPOSE 5901
COPY vnc.sh /opt/
CMD ["/opt/vnc.sh"]