Skip to content

Commit ec6cca0

Browse files
committed
bump rubies
- 3.4.0 → 3.4.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 a78b761 commit ec6cca0

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} && \
@@ -111,19 +111,19 @@ RUN sudo mkdir -p /usr/local/rake-compiler && \
111111
#
112112
xrubies_build_plan = if platform =~ /x64-mingw-ucrt/
113113
[
114-
# Rubyinstaller-3.1.0+ is platform x64-mingw-ucrt
115-
["3.4.0:3.3.5:3.2.0:3.1.0", "3.1.3"],
114+
# Rubyinstaller-3.1+ is platform x64-mingw-ucrt
115+
["3.4.1:3.3.5:3.2.6:3.1.2", "3.1.6"],
116116
]
117117
elsif platform =~ /x64-mingw32/
118118
[
119-
# Rubyinstaller prior to 3.1.0 is platform x64-mingw32
120-
["2.6.0:2.5.0:2.4.0", "2.5.9"],
121-
["3.0.0:2.7.0", "3.1.3"],
119+
# Rubyinstaller prior to 3.1 is platform x64-mingw32
120+
["2.6.10:2.5.9:2.4.10", "2.5.9"],
121+
["3.0.7:2.7.8", "3.1.6"],
122122
]
123123
else
124124
[
125-
["2.6.0:2.5.0:2.4.0", "2.5.9"],
126-
["3.4.0:3.3.5:3.2.0:3.1.0:3.0.0:2.7.0", "3.1.3"],
125+
["2.6.10:2.5.9:2.4.10", "2.5.9"],
126+
["3.4.1:3.3.5:3.2.6:3.1.2:3.0.7:2.7.8", "3.1.6"],
127127
]
128128
end
129129

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

220-
RUN bash -c "rbenv global 3.1.3"
220+
RUN bash -c "rbenv global 3.1.6"
221221

222-
ENV RUBY_CC_VERSION=3.4.0:3.3.5:3.2.0:3.1.0:3.0.0:2.7.0:2.6.0:2.5.0:2.4.0
222+
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
223223

224224
CMD bash

0 commit comments

Comments
 (0)