Skip to content

Commit

Permalink
Bump ruby version to 3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
azranel committed Jun 19, 2024
1 parent 05b1899 commit f523c2f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ RUN mkdir -p /var/lib/supervise/git-daemon
RUN gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB \
&& curl -sSL https://get.rvm.io | bash -s stable

RUN rvm install ruby-3.3.1 -C --with-jemalloc \
&& rvm use --default ruby-3.3.1 \
RUN rvm install ruby-3.3.3 -C --with-jemalloc \
&& rvm use --default ruby-3.3.3 \
&& rvm cleanup all

# Set the required environment variables
ENV RACK_ENV production
ENV RAILS_ENV production
ENV NODE_ENV production
ENV PATH=${PATH}:/usr/local/rvm/rubies/ruby-3.3.1/bin
ENV PATH=${PATH}:/usr/local/rvm/gems/ruby-3.3.1/bin
ENV GEM_HOME /usr/local/rvm/gems/ruby-3.3.1
ENV GEM_PATH /usr/local/rvm/gems/ruby-3.3.1
ENV PATH=${PATH}:/usr/local/rvm/rubies/ruby-3.3.3/bin
ENV PATH=${PATH}:/usr/local/rvm/gems/ruby-3.3.3/bin
ENV GEM_HOME /usr/local/rvm/gems/ruby-3.3.3
ENV GEM_PATH /usr/local/rvm/gems/ruby-3.3.3
ENV LD_PRELOAD=${LD_PRELOAD}:/lib/x86_64-linux-gnu/libjemalloc.so.2
ENV RUBY_YJIT_ENABLE 1

Expand Down

0 comments on commit f523c2f

Please sign in to comment.