Change ownership

This commit is contained in:
Girish Ramakrishnan 2022-11-14 23:31:15 +01:00
parent d0a8585230
commit ebd170ad1f

View file

@ -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) # install specific ruby version (https://github.com/mastodon/mastodon/blob/main/Dockerfile)
ARG RUBY_VERSION=3.0.4 ARG RUBY_VERSION=3.0.4
RUN rbenv install ${RUBY_VERSION} 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 ENV PATH /root/.rbenv/versions/${RUBY_VERSION}/bin:$PATH
RUN gem install --no-document bundler RUN gem install --no-document bundler