Skip to content

Commit e0ad34e

Browse files
committed
bump rubies
- 3.4.1 → 3.4.1 [^1] - 3.3.5 → 3.3.5 [^1] - 3.2.0 → 3.2.6 - 3.1.0 → 3.1.2 [^2] - 3.0.0 → 3.0.7 - 2.7.0 → 2.7.8 - 2.6.0 → 2.6.10 - 2.5.0 → 2.5.9 - 2.4.0 → 2.4.10 And update the default rbenv from 3.1.3 to 3.1.6. [^1]: unchanged [^2]: not the latest 3.1.6 because ruby/ruby#6193 broke cross-compilation builds until it was fixed in 3.2.0.rc2 by ruby/ruby#6944 and ruby/ruby#6959 which weren't backported (see https://bugs.ruby-lang.org/issues/19239)
1 parent 1e0ace3 commit e0ad34e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Dockerfile.mri.erb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apt-get -y update && \
1515
##
1616
RUN groupadd -r rubyuser && useradd -r -g rubyuser -G sudo -p "" --create-home rubyuser
1717

18-
ENV RBENV_ROOT=/usr/local/rbenv RBENV_RUBIES="2.5.9 3.1.3"
18+
ENV RBENV_ROOT=/usr/local/rbenv RBENV_RUBIES="2.5.9 3.1.6"
1919

2020
# chown after running `rbenv init` because that command creates some subdirectories
2121
RUN git clone https://github.com/rbenv/rbenv.git ${RBENV_ROOT} && \
@@ -110,19 +110,19 @@ RUN sudo mkdir -p /usr/local/rake-compiler && \
110110
#
111111
xrubies_build_plan = if platform =~ /x64-mingw-ucrt/
112112
[
113-
# Rubyinstaller-3.1.0+ is platform x64-mingw-ucrt
114-
["3.4.1:3.3.5:3.2.0:3.1.0", "3.1.3"],
113+
# Rubyinstaller-3.1+ is platform x64-mingw-ucrt
114+
["3.4.1:3.3.5:3.2.6:3.1.2", "3.1.6"],
115115
]
116116
elsif platform =~ /x64-mingw32/
117117
[
118-
# Rubyinstaller prior to 3.1.0 is platform x64-mingw32
119-
["2.6.0:2.5.0:2.4.0", "2.5.9"],
120-
["3.0.0:2.7.0", "3.1.3"],
118+
# Rubyinstaller prior to 3.1 is platform x64-mingw32
119+
["2.6.10:2.5.9:2.4.10", "2.5.9"],
120+
["3.0.7:2.7.8", "3.1.6"],
121121
]
122122
else
123123
[
124-
["2.6.0:2.5.0:2.4.0", "2.5.9"],
125-
["3.4.1:3.3.5:3.2.0:3.1.0:3.0.0:2.7.0", "3.1.3"],
124+
["2.6.10:2.5.9:2.4.10", "2.5.9"],
125+
["3.4.1:3.3.5:3.2.6:3.1.2:3.0.7:2.7.8", "3.1.6"],
126126
]
127127
end
128128

@@ -216,8 +216,8 @@ RUN echo 'source /etc/profile.d/rcd-env.sh' >> /etc/rubybashrc
216216
# Install sudoers configuration
217217
COPY build/sudoers /etc/sudoers.d/rake-compiler-dock
218218

219-
RUN bash -c "rbenv global 3.1.3"
219+
RUN bash -c "rbenv global 3.1.6"
220220

221-
ENV RUBY_CC_VERSION=3.4.1:3.3.5:3.2.0:3.1.0:3.0.0:2.7.0:2.6.0:2.5.0:2.4.0
221+
ENV RUBY_CC_VERSION=3.4.1:3.3.5:3.2.6:3.1.2:3.0.7:2.7.8:2.6.10:2.5.9:2.4.10
222222

223223
CMD bash

0 commit comments

Comments
 (0)