File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
templates/forum/build/forum Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change
1
+ 💥[ Feature] upgrade to Ruby 3.3 (by @ghassanmas ).
Original file line number Diff line number Diff line change 23
23
"PORT" : "4567" ,
24
24
"API_KEY" : "forumapikey" ,
25
25
"REPOSITORY" : "https://github.com/openedx/cs_comments_service.git" ,
26
- "REPOSITORY_VERSION" : "{{ OPENEDX_COMMON_VERSION }}" ,
26
+ # TEMP: after redwood.2 release replace with {{ OPENEDX_COMMON_VERSION }}
27
+ "REPOSITORY_VERSION" : "open-release/redwood.master" ,
27
28
},
28
29
}
29
30
Original file line number Diff line number Diff line change 1
1
# 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
3
3
4
4
ENV DEBIAN_FRONTEND=noninteractive
5
5
RUN apt update && \
@@ -16,9 +16,9 @@ RUN useradd --home-dir /app --create-home --shell /bin/bash --uid 1000 app
16
16
USER app
17
17
18
18
# 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
22
22
23
23
# Clone repo
24
24
ARG FORUM_REPOSITORY={{ FORUM_REPOSITORY }}
@@ -27,7 +27,6 @@ RUN git clone $FORUM_REPOSITORY --branch $FORUM_REPOSITORY_VERSION --depth 1 /ap
27
27
28
28
# Install ruby requirements
29
29
WORKDIR /app/cs_comments_service
30
- ENV BUNDLE_GEMFILE=Gemfile3
31
30
RUN bundle config set --local deployment 'true'
32
31
RUN bundle install
33
32
You can’t perform that action at this time.
0 commit comments