projects
/
discourse_docker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enables brotli compressed assets for everyone
[discourse_docker.git]
/
image
/
discourse_dev
/
Dockerfile
diff --git
a/image/discourse_dev/Dockerfile
b/image/discourse_dev/Dockerfile
index 69fa17df77f9c19a87a969dcdfd53717487ad50c..7dba165f3f6ece45a9b9ded2844bea6626bc6d55 100644
(file)
--- a/
image/discourse_dev/Dockerfile
+++ b/
image/discourse_dev/Dockerfile
@@
-1,9
+1,13
@@
# NAME: discourse/discourse_dev
# 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"
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 &&\
# 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 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
# move default postgres_data out of the way
RUN mv /shared/postgres_data /shared/postgres_data_orig