From: Guo Xiang Tan Date: Tue, 19 Dec 2017 09:49:55 +0000 (+0800) Subject: Just install chrome in `discourse_dev` seperately. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=14ee3d268dfceeec1edced8b27ee1377f120814d;p=discourse_docker.git Just install chrome in `discourse_dev` seperately. --- 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