From 1de36f60aeaf37e5764535062e2e67d68ae6fd7b Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 10 Jan 2023 20:43:35 +0000 Subject: [PATCH] Fix permissions error in dev image (#666) --- image/discourse_dev/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.25.1