diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2020-01-22 15:23:50 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2020-01-22 15:24:20 +0300 |
commit | 89328a33ca0c46a4871f5adb89a9465184a338c5 (patch) | |
tree | 50844e3f34e66fc365f8a07d94e3651082565b11 /dockerfiles | |
parent | e5e2d3048b4deab4aa8493611e3f049fed26dfea (diff) |
Use yarn install in the bootstrap Dockerfile
[ci skip]
Diffstat (limited to 'dockerfiles')
-rw-r--r-- | dockerfiles/Dockerfile.bootstrap | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dockerfiles/Dockerfile.bootstrap b/dockerfiles/Dockerfile.bootstrap index 14f071209..d65697b0c 100644 --- a/dockerfiles/Dockerfile.bootstrap +++ b/dockerfiles/Dockerfile.bootstrap @@ -16,12 +16,15 @@ RUN export GO111MODULE=on \ # FROM registry.gitlab.com/gitlab-org/gitlab-docs:base -# Copy only Gemfile and Gemfile.lock +# Copy only the Gemfiles and yarn.lock to install the dependencies COPY /Gemfile* /source/ +COPY /yarn.lock /source/ WORKDIR /source # Install gems RUN NOKOGIRI_USE_SYSTEM_LIBRARIES=1 bundle install --jobs 4 +# Install node libraries +RUN yarn install # Copy scripts used for static HTML post-processing COPY scripts /scripts/ |