mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Add a way to pin RubyGems and pin to 3.2
This commit is contained in:
parent
44254ea95d
commit
a00159f06f
5 changed files with 25 additions and 2 deletions
|
|
@ -17,8 +17,9 @@ ENV PATH $PATH:/usr/local/go/bin
|
|||
ARG RUBY_VERSION
|
||||
ARG RUBY_DOWNLOAD_SHA256
|
||||
ARG BUNDLER_VERSION
|
||||
ARG RUBYGEMS_VERSION
|
||||
|
||||
RUN if [ -n "$RUBY_VERSION" ]; then /scripts/install-ruby $RUBY_VERSION $RUBY_DOWNLOAD_SHA256 $BUNDLER_VERSION && ruby --version; fi
|
||||
RUN if [ -n "$RUBY_VERSION" ]; then /scripts/install-ruby "$RUBY_VERSION" "$RUBY_DOWNLOAD_SHA256" "$BUNDLER_VERSION" "$RUBYGEMS_VERSION" && ruby --version; fi
|
||||
|
||||
# Git
|
||||
ARG GIT_VERSION
|
||||
|
|
@ -107,6 +108,7 @@ RUN /scripts/validate-binaries-architecture
|
|||
|
||||
# Set as env variables all versions configured
|
||||
ENV RUBY_VERSION=${RUBY_VERSION} \
|
||||
RUBYGEMS_VERSION=${RUBYGEMS_VERSION} \
|
||||
GIT_VERSION=${GIT_VERSION} \
|
||||
CHROME_VERSION=${CHROME_VERSION} \
|
||||
NODE_VERSION=${NODE_INSTALL_VERSION} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue