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:
e6cb71c
)
Fix permissions error in dev image (#666)
author
David Taylor
<david@taylorhq.com>
Tue, 10 Jan 2023 20:43:35 +0000
(20:43 +0000)
committer
GitHub
<noreply@github.com>
Tue, 10 Jan 2023 20:43:35 +0000
(20:43 +0000)
image/discourse_dev/Dockerfile
patch
|
blob
|
blame
|
history
diff --git
a/image/discourse_dev/Dockerfile
b/image/discourse_dev/Dockerfile
index cac5cb00d6ee82f491b9190f93ddc8d584d65f96..478cd56234bbd4ca7d1fc44a1e141d943e04f605 100644
(file)
--- a/
image/discourse_dev/Dockerfile
+++ b/
image/discourse_dev/Dockerfile
@@
-13,6
+13,8
@@
RUN rm -rf /var/www/*
# Give discourse user no-passwd sudo permissions (for bundle install)
ADD sudoers.discourse /etc/sudoers.d/discourse
+RUN sudo -u discourse bundle config set --global path /home/discourse/.bundle/gems
+
# get redis going
ADD redis.template.yml /pups/redis.yml
RUN /pups/bin/pups /pups/redis.yml