From 0c4599d94515e1ef90f1252a0624022724a78ede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=B3=E6=9D=BE?= Date: Sun, 16 Oct 2016 15:50:41 +0800 Subject: [PATCH] env --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4d696b0..3742796 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM ubuntu RUN apt-get update \ && apt-get install -y wget x11vnc xvfb firefox +ENV vncpwd=xiaosong RUN mkdir ~/.vnc \ - && x11vnc -storepasswd xiaosong ~/.vnc/passwd \ + && x11vnc -storepasswd $vncpwd ~/.vnc/passwd \ && bash -c 'echo "firefox" >> ~/.bashrc' \ && wget http://fpdownload.macromedia.com/get/flashplayer/pdc/11.2.202.635/install_flash_player_11_linux.x86_64.tar.gz \ && mkdir flash_player \