Add option to pass custom bundler version

This commit is contained in:
Andrejs Cunskis 2022-05-01 19:31:13 +03:00
parent 34bf5cf7ee
commit 1f15ec8684
No known key found for this signature in database
GPG key ID: 87CB75083F227241
5 changed files with 24 additions and 2 deletions

View file

@ -16,8 +16,9 @@ ENV PATH $PATH:/usr/local/go/bin
# Ruby
ARG RUBY_VERSION
ARG RUBY_DOWNLOAD_SHA256
ARG BUNDLER_VERSION
RUN if [ -n "$RUBY_VERSION" ]; then /scripts/install-ruby $RUBY_VERSION $RUBY_DOWNLOAD_SHA256 && ruby --version; fi
RUN if [ -n "$RUBY_VERSION" ]; then /scripts/install-ruby $RUBY_VERSION $RUBY_DOWNLOAD_SHA256 $BUNDLER_VERSION && ruby --version; fi
# Git
ARG GIT_VERSION