diff options
author | Evan Read <eread@gitlab.com> | 2022-06-06 01:39:04 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2022-06-06 01:45:29 +0300 |
commit | 66f041c98630dc1e3e504b963a35747ac70381ab (patch) | |
tree | c864f28f17883f9a7a16e93381556bc39c7416ee /dockerfiles | |
parent | 03faf2938dccea5472c3eea4467f0e15ef662eaa (diff) |
Improve tagging of base image
Diffstat (limited to 'dockerfiles')
-rw-r--r-- | dockerfiles/gitlab-docs-base.Dockerfile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dockerfiles/gitlab-docs-base.Dockerfile b/dockerfiles/gitlab-docs-base.Dockerfile index 705b423e..81d27f16 100644 --- a/dockerfiles/gitlab-docs-base.Dockerfile +++ b/dockerfiles/gitlab-docs-base.Dockerfile @@ -1,5 +1,10 @@ # Base image for other Docker images -FROM ruby:2.7.5-alpine3.15 +# +# RUBY_VERSION and ALPINE_VERSION are defined in ../.gitlab-ci.yml +ARG RUBY_VERSION +ARG ALPINE_VERSION + +FROM ruby:${RUBY_VERSION}-alpine${ALPINE_VERSION} # Install dependencies RUN printf "\n\e[32mINFO: Installing dependencies..\e[39m\n" && apk add --no-cache -U \ |