mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-11-22 07:41:00 +00:00
Change ownership
This commit is contained in:
parent
d0a8585230
commit
ebd170ad1f
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue