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:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2020-09-24 12:41:12 +0300
committerTakuya Noguchi <takninnovationresearch@gmail.com>2020-09-24 12:41:12 +0300
commitc1f703f278726af868311ce07fbe802738e18345 (patch)
tree684d6900502b0bb2fbb8a9c3ebc7a0579e9c80e3
parent1d95a1c342ca2d6ba70e62f6d07f0eae4f5c65a1 (diff)
Revert "Merge branch '846-basic-installation-of-nokogiri' into 'master'"
This reverts merge request !1111
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--dockerfiles/Dockerfile.bootstrap2
-rw-r--r--dockerfiles/Dockerfile.builder.onbuild2
-rw-r--r--dockerfiles/Dockerfile.gitlab-docs-base2
-rw-r--r--dockerfiles/Dockerfile.gitlab-docs-lint2
5 files changed, 6 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 64f8bde8..a9a81741 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ default:
# Check Ruby version and install gems
before_script:
- ruby -v
- - bundle install --jobs 4 --path vendor
+ - NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install --jobs 4 --path vendor
.yarn:
before_script:
diff --git a/dockerfiles/Dockerfile.bootstrap b/dockerfiles/Dockerfile.bootstrap
index 3071e0a6..9dfdd857 100644
--- a/dockerfiles/Dockerfile.bootstrap
+++ b/dockerfiles/Dockerfile.bootstrap
@@ -22,7 +22,7 @@ COPY /yarn.lock /source/
WORKDIR /source
# Install gems
-RUN bundle install --jobs 4
+RUN NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install --jobs 4
# Install node libraries
RUN yarn install
diff --git a/dockerfiles/Dockerfile.builder.onbuild b/dockerfiles/Dockerfile.builder.onbuild
index 902c687a..48491a23 100644
--- a/dockerfiles/Dockerfile.builder.onbuild
+++ b/dockerfiles/Dockerfile.builder.onbuild
@@ -12,7 +12,7 @@ ONBUILD ARG BRANCH_CHARTS
# Build the docs from this branch
ONBUILD COPY . /source/
-ONBUILD RUN bundle install --jobs 4
+ONBUILD RUN NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install --jobs 4
ONBUILD RUN yarn install
ONBUILD RUN bundle exec rake setup_git default
ONBUILD RUN yarn install
diff --git a/dockerfiles/Dockerfile.gitlab-docs-base b/dockerfiles/Dockerfile.gitlab-docs-base
index b3da78e7..d3d5c002 100644
--- a/dockerfiles/Dockerfile.gitlab-docs-base
+++ b/dockerfiles/Dockerfile.gitlab-docs-base
@@ -15,6 +15,8 @@ RUN apk add --no-cache -U \
gzip \
grep \
libcurl \
+ libxslt \
+ libxslt-dev \
nodejs \
openssl \
pngquant \
diff --git a/dockerfiles/Dockerfile.gitlab-docs-lint b/dockerfiles/Dockerfile.gitlab-docs-lint
index aacc9711..252d28bd 100644
--- a/dockerfiles/Dockerfile.gitlab-docs-lint
+++ b/dockerfiles/Dockerfile.gitlab-docs-lint
@@ -44,4 +44,4 @@ RUN wget https://gitlab.com/gitlab-org/gitlab-docs/-/archive/$CI_COMMIT_REF_NAME
RUN cd gitlab-docs \
&& yarn install --frozen-lockfile \
- && bundle install --jobs 4
+ && NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install --jobs 4