Skip to content

Commit aa175ae

Browse files
fix(lcm): Fixing failed build old image
1 parent 5ba048a commit aa175ae

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎DockerfileOldImage‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,11 @@ RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import - \
2929
# Switch to a bash login shell to allow simple 'rvm' in RUN commands
3030
SHELL ["/bin/bash", "-l", "-c"]
3131

32+
# Do NOT 'gem update --system' here. JRuby 9.2.20.0 ships RubyGems 3.1.6, which already
33+
# satisfies bundler 2.3.27 (needs >= 2.5.2). Replacing it breaks the default-gem activation
34+
# that jruby-openssl relies on to load its BouncyCastle jars, leaving OpenSSL with only its
35+
# Java half (SSLContext without #set_params) - which kills every later HTTPS gem fetch.
3236
RUN rvm install jruby-${JRUBY_VERSION} \
33-
&& gem update --system 3.3.26 \
3437
&& gem install bundler -v 2.3.27 \
3538
&& gem install rake -v 11.3.0
3639

0 commit comments

Comments
 (0)