From 14ee3d268dfceeec1edced8b27ee1377f120814d Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 19 Dec 2017 17:49:55 +0800 Subject: [PATCH] Just install chrome in `discourse_dev` seperately. --- image/discourse_dev/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/image/discourse_dev/Dockerfile b/image/discourse_dev/Dockerfile index c1a6aa8..6b4fa24 100644 --- a/image/discourse_dev/Dockerfile +++ b/image/discourse_dev/Dockerfile @@ -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 -- 2.25.1