mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
set bundler version based on gitlab's Gemfile.lock
bundler used in gitlab is upgraded from 2.1.4 to 2.3.6 See more detail on : https://gitlab.com/gitlab-org/gitlab/-/merge_requests/79251 first contained tag : v14.8.0
This commit is contained in:
parent
3d751a1d5d
commit
464cd644d6
@ -90,6 +90,10 @@ fi
|
||||
GITLAB_SHELL_VERSION=${GITLAB_SHELL_VERSION:-$(cat ${GITLAB_INSTALL_DIR}/GITLAB_SHELL_VERSION)}
|
||||
GITLAB_PAGES_VERSION=${GITLAB_PAGES_VERSION:-$(cat ${GITLAB_INSTALL_DIR}/GITLAB_PAGES_VERSION)}
|
||||
|
||||
# install bundler: use version specified in Gemfile.lock
|
||||
BUNDLER_VERSION="$(grep "BUNDLED WITH" ${GITLAB_INSTALL_DIR}/Gemfile.lock -A 1 | grep -v "BUNDLED WITH" | tr -d "[:space:]")"
|
||||
gem install bundler:"${BUNDLER_VERSION}"
|
||||
|
||||
# download golang
|
||||
echo "Downloading Go ${GOLANG_VERSION}..."
|
||||
wget -cnv https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-amd64.tar.gz -P ${GITLAB_BUILD_DIR}/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user