mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
parent
7406c7b43a
commit
62814c1c6e
1 changed files with 6 additions and 0 deletions
|
|
@ -121,6 +121,12 @@ function print_terraform_args() {
|
|||
function parse_arguments() {
|
||||
read base
|
||||
read base_version
|
||||
|
||||
# Lock Ruby to Debian stretch
|
||||
case "$base" in
|
||||
ruby) base_version="$base_version-stretch" ;;
|
||||
esac
|
||||
|
||||
printf -- "-f Dockerfile.custom " "$base"
|
||||
printf -- "--build-arg CUSTOM_IMAGE_NAME=%s " "$base"
|
||||
printf -- "--build-arg CUSTOM_IMAGE_VERSION=%s " "$base_version"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue