aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-02-19 23:41:33 +0100
committerMax Magorsch <arzano@gentoo.org>2020-02-19 23:41:33 +0100
commit330e046d4070347f1fd0b629f4d3ae93779b0209 (patch)
treef46f5a0beb4a7ea8024aacbc501f4620f8b691eb
parentTry to fix yarn install during docker build on CI (diff)
downloadpackages-5-330e046d4070347f1fd0b629f4d3ae93779b0209.tar.gz
packages-5-330e046d4070347f1fd0b629f4d3ae93779b0209.tar.bz2
packages-5-330e046d4070347f1fd0b629f4d3ae93779b0209.zip
Update the dockerfile to fix yarn install during build
Signed-off-by: Max Magorsch <arzano@gentoo.org>
-rw-r--r--Dockerfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 13d4f94..51dc8a7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -27,6 +27,8 @@ RUN git clone https://anongit.gentoo.org/git/repo/gentoo.git /mnt/packages-tree/
COPY ./ /var/www/packages.gentoo.org/htdocs/
WORKDIR /var/www/packages.gentoo.org/htdocs/
RUN bundler install
+RUN yarn cache clean
+RUN yarn install --network-concurrency 1
RUN yarn install --check-files
# Git clones here.