Fix permissions error in dev image (#666)
This commit is contained in:
parent
e6cb71cd55
commit
1de36f60ae
|
@ -13,6 +13,8 @@ RUN rm -rf /var/www/*
|
||||||
# Give discourse user no-passwd sudo permissions (for bundle install)
|
# Give discourse user no-passwd sudo permissions (for bundle install)
|
||||||
ADD sudoers.discourse /etc/sudoers.d/discourse
|
ADD sudoers.discourse /etc/sudoers.d/discourse
|
||||||
|
|
||||||
|
RUN sudo -u discourse bundle config set --global path /home/discourse/.bundle/gems
|
||||||
|
|
||||||
# get redis going
|
# get redis going
|
||||||
ADD redis.template.yml /pups/redis.yml
|
ADD redis.template.yml /pups/redis.yml
|
||||||
RUN /pups/bin/pups /pups/redis.yml
|
RUN /pups/bin/pups /pups/redis.yml
|
||||||
|
|
Loading…
Reference in New Issue