Browse Source

[ruby/agoo] Upgrade to Ruby 3.3-rc with YJIT (#8445)

Petrik de Heus 1 year ago
parent
commit
bccf1950fe
1 changed files with 3 additions and 1 deletions
  1. 3 1
      frameworks/Ruby/agoo/agoo.dockerfile

+ 3 - 1
frameworks/Ruby/agoo/agoo.dockerfile

@@ -1,4 +1,4 @@
-FROM ruby:2.6.3-slim
+FROM ruby:3.3-rc
 
 RUN apt-get update -q \
     && apt-get install --no-install-recommends -q -y \
@@ -14,4 +14,6 @@ RUN bundle install --jobs=4
 
 EXPOSE 8080
 
+ENV RUBY_YJIT_ENABLE=1
+
 CMD AGOO_WORKER_COUNT=$(nproc) ruby app.rb