Skip to content

Commit 6634df7

Browse files
committed
feat: upgrade to ruby 3.3 closes #33
1 parent 829adf2 commit 6634df7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
💥[Feature] upgrade to Ruby 3.3 (by @ghassanmas).

tutorforum/templates/forum/build/forum/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# https://hub.docker.com/_/ruby/tags
2-
FROM docker.io/ruby:3.0.5-slim-bullseye
2+
FROM docker.io/ruby:3.3.1-slim-bullseye
33

44
ENV DEBIAN_FRONTEND=noninteractive
55
RUN apt update && \
@@ -16,9 +16,9 @@ RUN useradd --home-dir /app --create-home --shell /bin/bash --uid 1000 app
1616
USER app
1717

1818
# Install rake and bundler
19-
ENV PATH=/app/.gem/ruby/3.0.4/bin:$PATH
20-
RUN gem install --user-install bundler --version 2.3.4
21-
RUN gem install --user-install rake --version 13.0.6
19+
ENV PATH=/app/.gem/ruby/3.3.1/bin:$PATH
20+
RUN gem install --user-install bundler --version 2.3.26
21+
RUN gem install --user-install rake --version 13.1.0
2222

2323
# Clone repo
2424
ARG FORUM_REPOSITORY={{ FORUM_REPOSITORY }}
@@ -27,7 +27,6 @@ RUN git clone $FORUM_REPOSITORY --branch $FORUM_REPOSITORY_VERSION --depth 1 /ap
2727

2828
# Install ruby requirements
2929
WORKDIR /app/cs_comments_service
30-
ENV BUNDLE_GEMFILE=Gemfile3
3130
RUN bundle config set --local deployment 'true'
3231
RUN bundle install
3332

0 commit comments

Comments
 (0)