From 870718ad6943a1cd93f6dcde04b01e2256c17614 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 31 May 2024 09:16:48 +0200 Subject: [PATCH] Update ruby to 3.2.3 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 596a8d2..ae13c11 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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