mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-11-21 23:31:00 +00:00
Update ruby to 3.2.3
This commit is contained in:
parent
95c055755e
commit
870718ad69
1 changed files with 3 additions and 3 deletions
|
@ -17,14 +17,14 @@ RUN apt-get update && \
|
|||
libidn11-dev libicu-dev libjemalloc-dev && \
|
||||
rm -rf /var/cache/apt /var/lib/apt/lists
|
||||
|
||||
# install rbenv since we need ruby 3.0.4
|
||||
# install rbenv since we need ruby 3.2.3
|
||||
RUN mkdir -p /usr/local/rbenv && curl -LSs "https://github.com/rbenv/rbenv/archive/refs/tags/v1.2.0.tar.gz" | tar -xz -C /usr/local/rbenv --strip-components 1 -f -
|
||||
ENV PATH /usr/local/rbenv/bin:$PATH
|
||||
ENV RBENV_ROOT /home/cloudron/rbenv
|
||||
RUN mkdir -p "$(rbenv root)"/plugins/ruby-build && curl -LSs "https://github.com/rbenv/ruby-build/archive/refs/tags/v20221101.tar.gz" | tar -xz -C "$(rbenv root)"/plugins/ruby-build --strip-components 1 -f -
|
||||
RUN mkdir -p "$(rbenv root)"/plugins/ruby-build && curl -LSs "https://github.com/rbenv/ruby-build/archive/refs/tags/v20240530.1.tar.gz" | tar -xz -C "$(rbenv root)"/plugins/ruby-build --strip-components 1 -f -
|
||||
|
||||
# install specific ruby version (https://github.com/mastodon/mastodon/blob/main/Dockerfile)
|
||||
ARG RUBY_VERSION=3.0.4
|
||||
ARG RUBY_VERSION=3.2.3
|
||||
RUN rbenv install ${RUBY_VERSION}
|
||||
ENV PATH ${RBENV_ROOT}/versions/${RUBY_VERSION}/bin:$PATH
|
||||
|
||||
|
|
Loading…
Reference in a new issue