Be verbose during npm install to debug any possible network outages

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

View File

@@ -134,10 +134,10 @@ RUN set -x \
&& gem install mixlib-config -v 2.2.4 \ && gem install mixlib-config -v 2.2.4 \
&& gem install mdl \ && gem install mdl \
&& gem install scss_lint \ && gem install scss_lint \
&& npm install -g eslint \ && npm install --verbose -g eslint \
&& npm install -g jsonlint \ && npm install --verbose -g jsonlint \
&& npm install -g mdlint \ && npm install --verbose -g mdlint \
&& npm install -g gulp \ && npm install --verbose -g gulp \
\ \
# gitflow # gitflow
&& git clone git://github.com/petervanderdoes/gitflow.git /tmp/gitflow \ && git clone git://github.com/petervanderdoes/gitflow.git /tmp/gitflow \
@@ -146,8 +146,8 @@ RUN set -x \
&& cd / && rm -rf /tmp/gitflow \ && cd / && rm -rf /tmp/gitflow \
\ \
# grunt # grunt
&& npm install -g grunt \ && npm install --verbose -g grunt \
&& npm install -g grunt-cli \ && npm install --verbose -g grunt-cli \
\ \
# linkcheck # linkcheck
&& curl https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck > /usr/local/bin/linkcheck \ && curl https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck > /usr/local/bin/linkcheck \
@@ -203,8 +203,8 @@ RUN set -x \
# sass # sass
&& gem install sass \ && gem install sass \
# webpack # webpack
&& npm install -g webpack \ && npm install --verbose -g webpack \
&& npm install -g webpack-cli \ && npm install --verbose -g webpack-cli \
\ \
# yamllint # yamllint
&& DEBIAN_FRONTEND=noninteractive apt-get update -qq \ && DEBIAN_FRONTEND=noninteractive apt-get update -qq \

View File

@@ -136,10 +136,10 @@ RUN set -x \
&& gem install mixlib-config -v 2.2.4 \ && gem install mixlib-config -v 2.2.4 \
&& gem install mdl \ && gem install mdl \
&& gem install scss_lint \ && gem install scss_lint \
&& npm install -g eslint \ && npm install --verbose -g eslint \
&& npm install -g jsonlint \ && npm install --verbose -g jsonlint \
&& npm install -g mdlint \ && npm install --verbose -g mdlint \
&& npm install -g gulp \ && npm install --verbose -g gulp \
\ \
# codeception # codeception
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \ && COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \
@@ -165,8 +165,8 @@ RUN set -x \
&& cd / && rm -rf /tmp/gitflow \ && cd / && rm -rf /tmp/gitflow \
\ \
# grunt # grunt
&& npm install -g grunt \ && npm install --verbose -g grunt \
&& npm install -g grunt-cli \ && npm install --verbose -g grunt-cli \
\ \
# linkcheck # linkcheck
&& curl https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck > /usr/local/bin/linkcheck \ && curl https://raw.githubusercontent.com/cytopia/linkcheck/master/linkcheck > /usr/local/bin/linkcheck \
@@ -237,8 +237,8 @@ RUN set -x \
# sass # sass
&& gem install sass \ && gem install sass \
# webpack # webpack
&& npm install -g webpack \ && npm install --verbose -g webpack \
&& npm install -g webpack-cli \ && npm install --verbose -g webpack-cli \
\ \
# wpcli # wpcli
&& curl https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar -L -o /usr/local/bin/wp \ && curl https://github.com/wp-cli/wp-cli/releases/download/v1.5.1/wp-cli-1.5.1.phar -L -o /usr/local/bin/wp \

View File

@@ -136,10 +136,10 @@ RUN set -x \
&& gem install mixlib-config -v 2.2.4 \ && gem install mixlib-config -v 2.2.4 \
&& gem install mdl \ && gem install mdl \
&& gem install scss_lint \ && gem install scss_lint \
&& npm install -g eslint \ && npm install --verbose -g eslint \
&& npm install -g jsonlint \ && npm install --verbose -g jsonlint \
&& npm install -g mdlint \ && npm install --verbose -g mdlint \
&& npm install -g gulp \ && npm install --verbose -g gulp \
\ \
# codeception # codeception
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \ && COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \
@@ -181,8 +181,8 @@ RUN set -x \
&& cd / && rm -rf /tmp/gitflow \ && cd / && rm -rf /tmp/gitflow \
\ \
# grunt # grunt
&& npm install -g grunt \ && npm install --verbose -g grunt \
&& npm install -g grunt-cli \ && npm install --verbose -g grunt-cli \
\ \
# laravel # laravel
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \ && git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
@@ -266,8 +266,8 @@ RUN set -x \
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \ && curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
&& chmod +x /usr/local/bin/symfony \ && chmod +x /usr/local/bin/symfony \
# webpack # webpack
&& npm install -g webpack \ && npm install --verbose -g webpack \
&& npm install -g webpack-cli \ && npm install --verbose -g webpack-cli \
\ \
# wpcli # wpcli
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \ && curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \

View File

@@ -140,10 +140,10 @@ RUN set -x \
&& gem install mixlib-config -v 2.2.4 \ && gem install mixlib-config -v 2.2.4 \
&& gem install mdl \ && gem install mdl \
&& gem install scss_lint \ && gem install scss_lint \
&& npm install -g eslint \ && npm install --verbose -g eslint \
&& npm install -g jsonlint \ && npm install --verbose -g jsonlint \
&& npm install -g mdlint \ && npm install --verbose -g mdlint \
&& npm install -g gulp \ && npm install --verbose -g gulp \
\ \
# codeception # codeception
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \ && COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \
@@ -188,8 +188,8 @@ RUN set -x \
&& cd / && rm -rf /tmp/gitflow \ && cd / && rm -rf /tmp/gitflow \
\ \
# grunt # grunt
&& npm install -g grunt \ && npm install --verbose -g grunt \
&& npm install -g grunt-cli \ && npm install --verbose -g grunt-cli \
\ \
# laravel # laravel
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \ && git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
@@ -277,8 +277,8 @@ RUN set -x \
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \ && curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
&& chmod +x /usr/local/bin/symfony \ && chmod +x /usr/local/bin/symfony \
# webpack # webpack
&& npm install -g webpack \ && npm install --verbose -g webpack \
&& npm install -g webpack-cli \ && npm install --verbose -g webpack-cli \
\ \
# wpcli # wpcli
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \ && curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \

View File

@@ -140,10 +140,10 @@ RUN set -x \
&& gem install mixlib-config -v 2.2.4 \ && gem install mixlib-config -v 2.2.4 \
&& gem install mdl \ && gem install mdl \
&& gem install scss_lint \ && gem install scss_lint \
&& npm install -g eslint \ && npm install --verbose -g eslint \
&& npm install -g jsonlint \ && npm install --verbose -g jsonlint \
&& npm install -g mdlint \ && npm install --verbose -g mdlint \
&& npm install -g gulp \ && npm install --verbose -g gulp \
\ \
# codeception # codeception
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \ && COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \
@@ -201,8 +201,8 @@ RUN set -x \
&& cd / && rm -rf /tmp/gitflow \ && cd / && rm -rf /tmp/gitflow \
\ \
# grunt # grunt
&& npm install -g grunt \ && npm install --verbose -g grunt \
&& npm install -g grunt-cli \ && npm install --verbose -g grunt-cli \
\ \
# laravel # laravel
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \ && git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
@@ -290,8 +290,8 @@ RUN set -x \
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \ && curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
&& chmod +x /usr/local/bin/symfony \ && chmod +x /usr/local/bin/symfony \
# webpack # webpack
&& npm install -g webpack \ && npm install --verbose -g webpack \
&& npm install -g webpack-cli \ && npm install --verbose -g webpack-cli \
\ \
# wpcli # wpcli
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \ && curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \

View File

@@ -140,10 +140,10 @@ RUN set -x \
&& gem install mixlib-config -v 2.2.4 \ && gem install mixlib-config -v 2.2.4 \
&& gem install mdl \ && gem install mdl \
&& gem install scss_lint \ && gem install scss_lint \
&& npm install -g eslint \ && npm install --verbose -g eslint \
&& npm install -g jsonlint \ && npm install --verbose -g jsonlint \
&& npm install -g mdlint \ && npm install --verbose -g mdlint \
&& npm install -g gulp \ && npm install --verbose -g gulp \
\ \
# codeception # codeception
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \ && COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \
@@ -201,8 +201,8 @@ RUN set -x \
&& cd / && rm -rf /tmp/gitflow \ && cd / && rm -rf /tmp/gitflow \
\ \
# grunt # grunt
&& npm install -g grunt \ && npm install --verbose -g grunt \
&& npm install -g grunt-cli \ && npm install --verbose -g grunt-cli \
\ \
# laravel # laravel
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \ && git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
@@ -290,8 +290,8 @@ RUN set -x \
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \ && curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
&& chmod +x /usr/local/bin/symfony \ && chmod +x /usr/local/bin/symfony \
# webpack # webpack
&& npm install -g webpack \ && npm install --verbose -g webpack \
&& npm install -g webpack-cli \ && npm install --verbose -g webpack-cli \
\ \
# wpcli # wpcli
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \ && curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \

View File

@@ -140,10 +140,10 @@ RUN set -x \
&& gem install mixlib-config -v 2.2.4 \ && gem install mixlib-config -v 2.2.4 \
&& gem install mdl \ && gem install mdl \
&& gem install scss_lint \ && gem install scss_lint \
&& npm install -g eslint \ && npm install --verbose -g eslint \
&& npm install -g jsonlint \ && npm install --verbose -g jsonlint \
&& npm install -g mdlint \ && npm install --verbose -g mdlint \
&& npm install -g gulp \ && npm install --verbose -g gulp \
\ \
# codeception # codeception
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \ && COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \
@@ -201,8 +201,8 @@ RUN set -x \
&& cd / && rm -rf /tmp/gitflow \ && cd / && rm -rf /tmp/gitflow \
\ \
# grunt # grunt
&& npm install -g grunt \ && npm install --verbose -g grunt \
&& npm install -g grunt-cli \ && npm install --verbose -g grunt-cli \
\ \
# laravel # laravel
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \ && git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
@@ -290,8 +290,8 @@ RUN set -x \
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \ && curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
&& chmod +x /usr/local/bin/symfony \ && chmod +x /usr/local/bin/symfony \
# webpack # webpack
&& npm install -g webpack \ && npm install --verbose -g webpack \
&& npm install -g webpack-cli \ && npm install --verbose -g webpack-cli \
\ \
# wpcli # wpcli
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \ && curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \

View File

@@ -140,10 +140,10 @@ RUN set -x \
&& gem install mixlib-config -v 2.2.4 \ && gem install mixlib-config -v 2.2.4 \
&& gem install mdl \ && gem install mdl \
&& gem install scss_lint \ && gem install scss_lint \
&& npm install -g eslint \ && npm install --verbose -g eslint \
&& npm install -g jsonlint \ && npm install --verbose -g jsonlint \
&& npm install -g mdlint \ && npm install --verbose -g mdlint \
&& npm install -g gulp \ && npm install --verbose -g gulp \
\ \
# codeception # codeception
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \ && COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \
@@ -201,8 +201,8 @@ RUN set -x \
&& cd / && rm -rf /tmp/gitflow \ && cd / && rm -rf /tmp/gitflow \
\ \
# grunt # grunt
&& npm install -g grunt \ && npm install --verbose -g grunt \
&& npm install -g grunt-cli \ && npm install --verbose -g grunt-cli \
\ \
# laravel # laravel
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \ && git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
@@ -290,8 +290,8 @@ RUN set -x \
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \ && curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
&& chmod +x /usr/local/bin/symfony \ && chmod +x /usr/local/bin/symfony \
# webpack # webpack
&& npm install -g webpack \ && npm install --verbose -g webpack \
&& npm install -g webpack-cli \ && npm install --verbose -g webpack-cli \
\ \
# wpcli # wpcli
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \ && curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \

View File

@@ -140,10 +140,10 @@ RUN set -x \
&& gem install mixlib-config -v 2.2.4 \ && gem install mixlib-config -v 2.2.4 \
&& gem install mdl \ && gem install mdl \
&& gem install scss_lint \ && gem install scss_lint \
&& npm install -g eslint \ && npm install --verbose -g eslint \
&& npm install -g jsonlint \ && npm install --verbose -g jsonlint \
&& npm install -g mdlint \ && npm install --verbose -g mdlint \
&& npm install -g gulp \ && npm install --verbose -g gulp \
\ \
# codeception # codeception
&& COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \ && COMPOSER_HOME="/usr/local/src/composer" composer global require codeception/codeception \
@@ -201,8 +201,8 @@ RUN set -x \
&& cd / && rm -rf /tmp/gitflow \ && cd / && rm -rf /tmp/gitflow \
\ \
# grunt # grunt
&& npm install -g grunt \ && npm install --verbose -g grunt \
&& npm install -g grunt-cli \ && npm install --verbose -g grunt-cli \
\ \
# laravel # laravel
&& git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \ && git clone https://github.com/laravel/installer /usr/local/src/laravel-installer \
@@ -279,8 +279,8 @@ RUN set -x \
&& curl https://symfony.com/installer -L -o /usr/local/bin/symfony \ && curl https://symfony.com/installer -L -o /usr/local/bin/symfony \
&& chmod +x /usr/local/bin/symfony \ && chmod +x /usr/local/bin/symfony \
# webpack # webpack
&& npm install -g webpack \ && npm install --verbose -g webpack \
&& npm install -g webpack-cli \ && npm install --verbose -g webpack-cli \
\ \
# wpcli # wpcli
&& curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \ && curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp \

View File

@@ -327,10 +327,10 @@ software_available:
gem install mixlib-config -v 2.2.4 \ gem install mixlib-config -v 2.2.4 \
&& gem install mdl \ && gem install mdl \
&& gem install scss_lint \ && gem install scss_lint \
&& npm install -g eslint \ && npm install --verbose -g eslint \
&& npm install -g jsonlint \ && npm install --verbose -g jsonlint \
&& npm install -g mdlint \ && npm install --verbose -g mdlint \
&& npm install -g gulp \ && npm install --verbose -g gulp \
composer: composer:
disabled: [5.2] disabled: [5.2]
check: composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+' check: composer --version 2>/dev/null | grep -E 'version\s*[.0-9]+'
@@ -415,8 +415,8 @@ software_available:
check: grunt --version | grep -E '[.0-9]+' check: grunt --version | grep -E '[.0-9]+'
all: all:
command: | command: |
npm install -g grunt \ npm install --verbose -g grunt \
&& npm install -g grunt-cli \ && npm install --verbose -g grunt-cli \
laravel: laravel:
check: laravel --version | grep -E '(Installer|version)\s*[.0-9]+' check: laravel --version | grep -E '(Installer|version)\s*[.0-9]+'
disabled: [5.2, 5.3] disabled: [5.2, 5.3]
@@ -609,8 +609,8 @@ software_available:
check: webpack --version | grep -E '[.0-9]+' check: webpack --version | grep -E '[.0-9]+'
all: all:
command: | command: |
npm install -g webpack \ npm install --verbose -g webpack \
&& npm install -g webpack-cli \ && npm install --verbose -g webpack-cli \
yamllint: yamllint:
check: yamllint --version 2>&1 | grep -E '[.0-9]+' check: yamllint --version 2>&1 | grep -E '[.0-9]+'
all: all: