mirror of
https://github.com/jkaninda/laravel-php-fpm.git
synced 2026-11-13 16:47:15 +00:00
ci: integration test disables Composer security-advisory
This commit is contained in:
1 parent
2baa3c930c
commit
1b1be8f55a
1 file changed
+3
-1
@@ -29,7 +29,9 @@ docker run --rm "$IMAGE" sh -c 'php -v && composer -V && node -v && npm -v'
|
|||||||
|
|
||||||
echo "==> Creating Laravel project"
|
echo "==> Creating Laravel project"
|
||||||
rm -rf laravel
|
rm -rf laravel
|
||||||
docker run --rm -v "$PWD:/app" -w /app "$IMAGE" \
|
# Older Laravel releases (for PHP 8.1/8.2) are flagged by security advisories;
|
||||||
|
# this throwaway test project only checks that the image can serve Laravel.
|
||||||
|
docker run --rm -v "$PWD:/app" -w /app -e COMPOSER_NO_SECURITY_BLOCKING=1 "$IMAGE" \
|
||||||
composer create-project --prefer-dist --no-interaction --no-progress laravel/laravel laravel
|
composer create-project --prefer-dist --no-interaction --no-progress laravel/laravel laravel
|
||||||
docker run --rm -v "$PWD/laravel:/var/www/html" "$IMAGE" \
|
docker run --rm -v "$PWD/laravel:/var/www/html" "$IMAGE" \
|
||||||
chown -R www-data:www-data storage bootstrap/cache database
|
chown -R www-data:www-data storage bootstrap/cache database
|
||||||
|
|||||||
Reference in new issue
Block a user