X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=image%2Fdiscourse_dev%2FDockerfile;h=7dba165f3f6ece45a9b9ded2844bea6626bc6d55;hb=24c757dfcafdc16d89da0d4baa096e81ad5724ba;hp=69fa17df77f9c19a87a969dcdfd53717487ad50c;hpb=7047cd35ef73a2a0a832b293e43d2ee982b1744a;p=discourse_docker.git diff --git a/image/discourse_dev/Dockerfile b/image/discourse_dev/Dockerfile index 69fa17d..7dba165 100644 --- a/image/discourse_dev/Dockerfile +++ b/image/discourse_dev/Dockerfile @@ -1,9 +1,13 @@ # NAME: discourse/discourse_dev -# VERSION: 1.3.8 -FROM discourse/base:1.3.8 +# VERSION: 1.3.9 +FROM discourse/base:1.3.9 MAINTAINER Sam Saffron "https://twitter.com/samsaffron" +# Install for mailcatcher gem +RUN apt-get update && apt-get install -y libsqlite3-dev \ + && gem install mailcatcher && rm -rf /var/lib/apt/lists/* + # Create discourse user and /var/www location for both # discourse and dev images. RUN useradd discourse -s /bin/bash -m -U &&\ @@ -25,6 +29,10 @@ ENV LC_ALL en_US.UTF-8 ADD postgres.template.yml /pups/postgres.yml RUN LANG=en_US.UTF-8 /pups/bin/pups /pups/postgres.yml +# add dev databases +ADD postgres_dev.template.yml /pups/postgres_dev.yml +RUN /pups/bin/pups /pups/postgres_dev.yml + # move default postgres_data out of the way RUN mv /shared/postgres_data /shared/postgres_data_orig