Add --no-progress --no-interaction to composer install
This commit is contained in:
parent
3e7fbc4c4a
commit
99cffc8dc7
@ -14,13 +14,13 @@ then
|
|||||||
then
|
then
|
||||||
echo "WARNING: NAMELESS_COMPOSER_INSTALL is deprecated, use NAMELESS_ALWAYS_INSTALL_DEPENDENCIES instead."
|
echo "WARNING: NAMELESS_COMPOSER_INSTALL is deprecated, use NAMELESS_ALWAYS_INSTALL_DEPENDENCIES instead."
|
||||||
echo "NAMELESS_COMPOSER_INSTALL set, running composer install..."
|
echo "NAMELESS_COMPOSER_INSTALL set, running composer install..."
|
||||||
composer install
|
composer install --no-progress --no-interaction
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$NAMELESS_ALWAYS_INSTALL_DEPENDENCIES" ]
|
if [ -n "$NAMELESS_ALWAYS_INSTALL_DEPENDENCIES" ]
|
||||||
then
|
then
|
||||||
echo "NAMELESS_ALWAYS_INSTALL_DEPENDENCIES set, running composer and yarn..."
|
echo "NAMELESS_ALWAYS_INSTALL_DEPENDENCIES set, running composer and yarn..."
|
||||||
composer install
|
composer install --no-progress --no-interaction
|
||||||
yarnpkg
|
yarnpkg
|
||||||
# When running yarnpkg after downloading, the script deletes node_modules. However, doing that here
|
# When running yarnpkg after downloading, the script deletes node_modules. However, doing that here
|
||||||
# would require redownloading all modules at every container start.
|
# would require redownloading all modules at every container start.
|
||||||
@ -35,7 +35,7 @@ else
|
|||||||
mv Nameless-*/* "/data"
|
mv Nameless-*/* "/data"
|
||||||
rm -rf /tmp/* # must not delete /tmp directory itself!
|
rm -rf /tmp/* # must not delete /tmp directory itself!
|
||||||
cd /data
|
cd /data
|
||||||
composer install
|
composer install --no-progress --no-interaction
|
||||||
yarnpkg
|
yarnpkg
|
||||||
# remove some unnecessary files (dotfiles in the root directory are not copied in the first place)
|
# remove some unnecessary files (dotfiles in the root directory are not copied in the first place)
|
||||||
rm -rf \
|
rm -rf \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user