From ebd170ad1f1267d241175d5faa85aae76b2a0a49 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 14 Nov 2022 23:31:15 +0100 Subject: [PATCH] Change ownership --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 876468c..37f8b61 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,8 @@ RUN mkdir -p "$(rbenv root)"/plugins/ruby-build && curl -LSs "https://github.com # install specific ruby version (https://github.com/mastodon/mastodon/blob/main/Dockerfile) ARG RUBY_VERSION=3.0.4 RUN rbenv install ${RUBY_VERSION} +# this allows cloudron user to access ruby +RUN chmod o+rx /root ENV PATH /root/.rbenv/versions/${RUBY_VERSION}/bin:$PATH RUN gem install --no-document bundler