From: David Taylor Date: Tue, 10 Jan 2023 20:43:35 +0000 (+0000) Subject: Fix permissions error in dev image (#666) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=1de36f60aeaf37e5764535062e2e67d68ae6fd7b;p=discourse_docker.git Fix permissions error in dev image (#666) --- diff --git a/image/discourse_dev/Dockerfile b/image/discourse_dev/Dockerfile index cac5cb0..478cd56 100644 --- 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