Skip to content

Commit

Permalink
Merge pull request #21 from hunter-io/3.4.1
Browse files Browse the repository at this point in the history
Bump ruby to 3.4.1
  • Loading branch information
azranel authored Dec 30, 2024
2 parents 64cfd2b + 1b3c46f commit d36e6ef
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 @@ -31,18 +31,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.6 -C --with-jemalloc \
&& rvm use --default ruby-3.3.6 \
RUN rvm install ruby-3.4.1 -C --with-jemalloc \
&& rvm use --default ruby-3.4.1 \
&& 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.6/bin
ENV PATH=${PATH}:/usr/local/rvm/gems/ruby-3.3.6/bin
ENV GEM_HOME /usr/local/rvm/gems/ruby-3.3.6
ENV GEM_PATH /usr/local/rvm/gems/ruby-3.3.6
ENV PATH=${PATH}:/usr/local/rvm/rubies/ruby-3.4.1/bin
ENV PATH=${PATH}:/usr/local/rvm/gems/ruby-3.4.1/bin
ENV GEM_HOME /usr/local/rvm/gems/ruby-3.4.1
ENV GEM_PATH /usr/local/rvm/gems/ruby-3.4.1
ENV LD_PRELOAD=${LD_PRELOAD}:/lib/x86_64-linux-gnu/libjemalloc.so.2
ENV RUBY_YJIT_ENABLE 1

Expand Down

0 comments on commit d36e6ef

Please sign in to comment.