Use Debian Buster based Ruby images

Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
This commit is contained in:
Balasankar "Balu" C 2020-01-02 10:09:32 +05:30
parent b566669f62
commit 3096584ce1
No known key found for this signature in database
GPG key ID: B77D2E2E23735427
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM ruby:2.7.0-slim-stretch
FROM ruby:2.7.0-slim-buster
ADD /scripts/ /scripts/
RUN /scripts/install-www-gitlab-com

View file

@ -165,9 +165,9 @@ function parse_arguments() {
read base
read base_version
# Lock Ruby to Debian stretch
# Lock Ruby to Debian Buster
case "$base" in
ruby) base_version="$base_version-stretch" ;;
ruby) base_version="$base_version-buster" ;;
esac
printf -- "-f Dockerfile.custom " "$base"