Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2022-12-15 03:27:35 +0300
committerEvan Read <eread@gitlab.com>2022-12-15 03:27:35 +0300
commit5b35a22d4b33d1f6edee78fec1c611114a9ea593 (patch)
tree08208513b5acb6604ba61d2fe69fbb652e0479c5 /dockerfiles
parent897046a2eb983f65b846dd716259b0bd2b832bca (diff)
Set Ruby and Alpine as variables in single.Dockerfile
Diffstat (limited to 'dockerfiles')
-rw-r--r--dockerfiles/single.Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/dockerfiles/single.Dockerfile b/dockerfiles/single.Dockerfile
index 1bebdbf8..6f578538 100644
--- a/dockerfiles/single.Dockerfile
+++ b/dockerfiles/single.Dockerfile
@@ -19,7 +19,11 @@ RUN apk add --no-cache git \
#- Start of builder stage -#
-FROM ruby:2.7.6-alpine3.16 AS builder
+# RUBY_VERSION and ALPINE_VERSION are defined in ../.gitlab-ci.yml
+ARG RUBY_VERSION
+ARG ALPINE_VERSION
+
+FROM ruby:${RUBY_VERSION}-alpine${ALPINE_VERSION} AS builder
# Copy minifier binary from the minifier stage
COPY --from=minifier /minify /usr/local/bin/minify