BEEP icon indicating copy to clipboard operation
BEEP copied to clipboard

Building Docker image fails

Open amotl opened this issue 4 years ago • 2 comments

Hi there,

coming from https://github.com/beepnl/BEEP/issues/89#issuecomment-888498569, we tried to build the Docker image by invoking

docker build --tag=beep:dev .

We are using Docker version 20.10.7 on macOS.

However, after a while, the build process croaks with:

#14 10.61 Carbon 1 is deprecated, see how to migrate to Carbon 2.
#14 10.61 https://carbon.nesbot.com/docs/#api-carbon-2
#14 10.61     You can run './vendor/bin/upgrade-carbon' to get help in updating carbon and other frameworks and libraries that depend on it.
#14 10.61 > Illuminate\Foundation\ComposerScripts::postAutoloadDump
#14 10.61 > @php artisan package:discover --ansi
#14 10.64
#14 10.64 Deprecated: Method ReflectionParameter::getClass() is deprecated in /beep/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 853
#14 10.64 Deprecated: Method ReflectionParameter::getClass() is deprecated in /beep/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 927
#14 10.64 Deprecated: Method ReflectionParameter::getClass() is deprecated in /beep/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 853
#14 10.64 Deprecated: Method ReflectionParameter::getClass() is deprecated in /beep/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 927
#14 10.64
#14 10.68 Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 255
------
executor failed running [/bin/sh -c ls -l && composer install && mv storage storage.bak && chmod -R 777 bootstrap/cache]: exit code: 255

Is there anything you might be able to do about it?

With kind regards, Andreas.

amotl avatar Jul 28 '21 17:07 amotl

It also uses a lot of abandoned and deprecated packages.

4.923 Package fruitcake/laravel-cors is abandoned, you should avoid using it. No replacement was suggested.
4.923 Package iatstuti/laravel-cascade-soft-deletes is abandoned, you should avoid using it. Use dyrynda/laravel-cascade-soft-deletes instead.
4.923 Package influxdb/influxdb-php is abandoned, you should avoid using it. No replacement was suggested.
4.923 Package laravelcollective/html is abandoned, you should avoid using it. Use spatie/laravel-html instead.
4.923 Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
4.923 Package symfony/debug is abandoned, you should avoid using it. Use symfony/error-handler instead.
4.923 Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
4.923 Package spatie/data-transfer-object is abandoned, you should avoid using it. Use spatie/laravel-data instead.

ulab avatar May 13 '24 13:05 ulab

Hi @amotl we actually did not create the PR for Docker, and do not use it. But we will try to fix it, since it has been open for a while.

If you have any fixes for it, please don't hesitate to create a PR

pvgennip avatar May 13 '24 13:05 pvgennip