Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Docker image fails #115

Open
amotl opened this issue Jul 28, 2021 · 2 comments
Open

Building Docker image fails #115

amotl opened this issue Jul 28, 2021 · 2 comments
Assignees

Comments

@amotl
Copy link

amotl commented Jul 28, 2021

Hi there,

coming from #89 (comment), 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.

@ulab
Copy link

ulab commented May 13, 2024

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.

@pvgennip
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants