Just install chrome in `discourse_dev` seperately.
authorGuo Xiang Tan <tgx_world@hotmail.com>
Tue, 19 Dec 2017 09:49:55 +0000 (17:49 +0800)
committerGuo Xiang Tan <tgx_world@hotmail.com>
Tue, 19 Dec 2017 09:49:55 +0000 (17:49 +0800)
image/discourse_dev/Dockerfile

index c1a6aa8a75af7efa4d39813ba40831cf27028166..6b4fa24987d80627d92bd36fce37dd6f4610bbe7 100644 (file)
@@ -1,6 +1,6 @@
 # NAME:     discourse/discourse_dev
 # VERSION:  release
-FROM discourse/discourse_test:release
+FROM discourse/base:release
 
 #LABEL maintainer="Sam Saffron \"https://twitter.com/samsaffron\""
 
@@ -37,3 +37,8 @@ RUN mv /shared/postgres_data /shared/postgres_data_orig
 # re-instantiate data on boot if needed (this will allow it to persist across
 # invocations when used with a mounted volume)
 ADD ensure-database /etc/runit/1.d/ensure-database
+
+RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - &&\
+    echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list &&\
+    apt-get update &&\
+    apt-get install -y google-chrome-stable