diff options
author | 2020-02-19 23:41:33 +0100 | |
---|---|---|
committer | 2020-02-19 23:41:33 +0100 | |
commit | 330e046d4070347f1fd0b629f4d3ae93779b0209 (patch) | |
tree | f46f5a0beb4a7ea8024aacbc501f4620f8b691eb | |
parent | Try to fix yarn install during docker build on CI (diff) | |
download | packages-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-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |