Install npm packages step-by-step due to download bug

This commit is contained in:
cytopia
2018-11-01 20:33:09 +01:00
parent f5af07cede
commit e816c9a376
10 changed files with 60 additions and 20 deletions

View File

@@ -201,7 +201,9 @@ RUN set -x \
&& cd / && rm -rf /tmp/gitflow \
\
# grunt
&& npm install -g grunt grunt-cli \
&& npm install -g grunt \
&& npm install -g grunt-cli \
\
# laravel
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
&& cd /usr/local/src/laravel-installer \
@@ -288,7 +290,9 @@ RUN set -x \
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
&& chmod +x /usr/local/bin/symfony \
# webpack
&& npm install -g webpack webpack-cli \
&& npm install -g webpack \
&& npm install -g webpack-cli \
\
# wpcli
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \
&& chmod +x /usr/local/bin/wp \