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

构建docker镜像时报错 #37

Closed
cherrieszzz opened this issue Aug 6, 2022 · 1 comment
Closed

构建docker镜像时报错 #37

cherrieszzz opened this issue Aug 6, 2022 · 1 comment

Comments

@cherrieszzz
Copy link

系统平台为Ubuntu Docker版本20.10.12
报错信息如下
`Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead.
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
Generating optimized autoload files

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover
Discovered Package: barryvdh/laravel-cors
Discovered Package: fideloper/proxy
Discovered Package: hhxsv5/laravel-s
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: tymon/jwt-auth
Package manifest generated successfully.
55 packages you are using are looking for funding.
Use the composer fund command to find out more!
Configuration cache cleared!
Configuration cached successfully!
Route cache cleared!
Routes cached successfully!

In Connection.php line 664:

SQLSTATE[HY000] [2002] No such file or directory (SQL: select * from inform
ation_schema.tables where table_schema = shop and table_name = migrations a
nd table_type = 'BASE TABLE')

In Exception.php line 18:

SQLSTATE[HY000] [2002] No such file or directory

In PDOConnection.php line 40:

SQLSTATE[HY000] [2002] No such file or directory

The command '/bin/sh -c chmod -R 0777 storage && chmod -R 0777 bootstrap/cache && composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ && composer install --optimize-autoloader --no-dev && php artisan config:cache && php artisan route:cache && php artisan migrate && php artisan storage:link && php artisan moon:copy' returned a non-zero code: 1`
请作者大大赐教

@seth-shi
Copy link
Owner

seth-shi commented Sep 5, 2022

最新版本已修复好
6335df4

@seth-shi seth-shi closed this as completed Sep 5, 2022
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

2 participants