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:
Diffstat (limited to 'dockerfiles/Dockerfile.gitlab-docs-lint-html')
-rw-r--r--dockerfiles/Dockerfile.gitlab-docs-lint-html4
1 files changed, 4 insertions, 0 deletions
diff --git a/dockerfiles/Dockerfile.gitlab-docs-lint-html b/dockerfiles/Dockerfile.gitlab-docs-lint-html
index 8704f0cb..fd9261cf 100644
--- a/dockerfiles/Dockerfile.gitlab-docs-lint-html
+++ b/dockerfiles/Dockerfile.gitlab-docs-lint-html
@@ -38,6 +38,9 @@ RUN apk add --no-cache -U \
# Do not install rdoc to save some space
RUN echo 'gem: --no-document' >> /etc/gemrc
+# Update RubyGems
+gem update --system 3.3.13
+
# Set up needed environment variables that are called with --build-arg when
# the Docker image is built (see .gitlab-ci.yml).
ARG CI_COMMIT_REF_NAME
@@ -53,6 +56,7 @@ RUN wget https://gitlab.com/gitlab-org/gitlab-docs/-/archive/$CI_COMMIT_REF_NAME
RUN cd gitlab-docs \
&& yarn install --frozen-lockfile \
+ && bundle update --bundler \
&& NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install --jobs 4
RUN yarn cache clean --all