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:
authorEvan Read <eread@gitlab.com>2022-01-25 11:05:29 +0300
committerEvan Read <eread@gitlab.com>2022-01-25 11:05:29 +0300
commitad9647e0e43160787dbfc85e72186786ba43ef48 (patch)
treeb3bdc4d43fd01bfc18129481fa79159af88b8ab6
parent6d4e30f1c14917cf895ee9250c29e0e18309796a (diff)
Avoid installing Gems in system patheread/avoid-installing-gems-in-system-path
-rw-r--r--dockerfiles/Dockerfile.builder.onbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dockerfiles/Dockerfile.builder.onbuild b/dockerfiles/Dockerfile.builder.onbuild
index d030abed..9dbde4b1 100644
--- a/dockerfiles/Dockerfile.builder.onbuild
+++ b/dockerfiles/Dockerfile.builder.onbuild
@@ -12,6 +12,7 @@ ONBUILD ARG BRANCH_CHARTS
# Build the docs from this branch
ONBUILD COPY . /source/
+ONBUILD RUN bundle config set path 'vendor'
ONBUILD RUN NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install --jobs 4
ONBUILD RUN yarn install
ONBUILD RUN bundle exec rake setup_git default