Skip to content

Commit 7975567

Browse files
authored
Merge pull request sameersbn#2956 from kkimurak/bump-rubygems-to-3.5.x
Add ENV RUBYGEMS_VERSION and set to latest 3.5.x
2 parents 0b1a014 + 3c0be75 commit 7975567

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ ARG VERSION=17.0.2
55
ENV GITLAB_VERSION=${VERSION} \
66
RUBY_VERSION=3.2.4 \
77
RUBY_SOURCE_SHA256SUM="c72b3c5c30482dca18b0f868c9075f3f47d8168eaf626d4e682ce5b59c858692" \
8+
RUBYGEMS_VERSION=3.5.14 \
89
GOLANG_VERSION=1.22.4 \
910
GITLAB_SHELL_VERSION=14.35.0 \
1011
GITLAB_PAGES_VERSION=17.0.2 \

assets/build/install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ make -j"$(nproc)"
5656
make install
5757
cd "$PWD_ORG" && rm -rf /tmp/ruby
5858

59+
# upgrade rubygems on demand
60+
gem update --no-document --system "${RUBYGEMS_VERSION}"
61+
5962
# PaX-mark ruby
6063
# Applying the mark late here does make the build usable on PaX kernels, but
6164
# still the build itself must be executed on a non-PaX kernel. It's done here

0 commit comments

Comments
 (0)