projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceffc44
)
Run Rake task to fetch MaxMindDb.
author
Bianca Nenciu
<nenciu.bianca@gmail.com>
Wed, 3 Oct 2018 14:18:37 +0000
(17:18 +0300)
committer
Bianca Nenciu
<nenciu.bianca@gmail.com>
Wed, 3 Oct 2018 14:18:37 +0000
(17:18 +0300)
image/base/Dockerfile
patch
|
blob
|
blame
|
history
diff --git
a/image/base/Dockerfile
b/image/base/Dockerfile
index f9c2e6bc5912b9431bc8a39e6a2efb5210e93988..9961aab4c0e0107d5769ebe0677c3fb9dacedd5f 100644
(file)
--- a/
image/base/Dockerfile
+++ b/
image/base/Dockerfile
@@
-139,4
+139,5
@@
RUN useradd discourse -s /bin/bash -m -U &&\
cd /var/www/discourse &&\
sudo -u discourse bundle install --deployment \
--without test --without development &&\
+ bundle exec rake maxminddb:get &&\
find /var/www/discourse/vendor/bundle -name tmp -type d -exec rm -rf {} +