mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Use buster only for Ruby 2.7.0
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
This commit is contained in:
parent
3096584ce1
commit
84f61f5274
1 changed files with 6 additions and 1 deletions
|
|
@ -167,7 +167,12 @@ function parse_arguments() {
|
||||||
|
|
||||||
# Lock Ruby to Debian Buster
|
# Lock Ruby to Debian Buster
|
||||||
case "$base" in
|
case "$base" in
|
||||||
ruby) base_version="$base_version-buster" ;;
|
ruby)
|
||||||
|
case "$base_version" in
|
||||||
|
2.7.0) base_version="$base_version-buster" ;;
|
||||||
|
*) base_version="$base_version-stretch" ;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
printf -- "-f Dockerfile.custom " "$base"
|
printf -- "-f Dockerfile.custom " "$base"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue