mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-11 11:02:55 +01:00
Merge branch 'sh-lock-down-ruby-images' into 'master'
Lock Ruby builds to using Debian stretch Closes #20 See merge request gitlab-org/gitlab-build-images!98
This commit is contained in:
commit
202de09d92
1 changed files with 6 additions and 0 deletions
|
|
@ -121,6 +121,12 @@ function print_terraform_args() {
|
||||||
function parse_arguments() {
|
function parse_arguments() {
|
||||||
read base
|
read base
|
||||||
read base_version
|
read base_version
|
||||||
|
|
||||||
|
# Lock Ruby to Debian stretch
|
||||||
|
case "$base" in
|
||||||
|
ruby) base_version="$base_version-stretch" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
printf -- "-f Dockerfile.custom " "$base"
|
printf -- "-f Dockerfile.custom " "$base"
|
||||||
printf -- "--build-arg CUSTOM_IMAGE_NAME=%s " "$base"
|
printf -- "--build-arg CUSTOM_IMAGE_NAME=%s " "$base"
|
||||||
printf -- "--build-arg CUSTOM_IMAGE_VERSION=%s " "$base_version"
|
printf -- "--build-arg CUSTOM_IMAGE_VERSION=%s " "$base_version"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue