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

构建 swoole-cli 使用大陆镜像源 #186

Open
jingjingxyk opened this issue Dec 8, 2024 · 0 comments
Open

构建 swoole-cli 使用大陆镜像源 #186

jingjingxyk opened this issue Dec 8, 2024 · 0 comments

Comments

@jingjingxyk
Copy link
Owner

先运行容器,然后再运行 swoole-cli 构建代码

bash sapi/quickstart/linux/run-alpine-container.sh  --mirror china 
bash sapi/quickstart/linux/connection-swoole-cli-alpine.sh

sh sapi/quickstart/linux/alpine-init-minimal.sh --mirror china 
bash sapi/quickstart/linux/alpine-init.sh --mirror china 

bash setup-php-runtime.sh --mirror china 
export PATH=/work/bin/runtime:$PATH
composer config -g repos.packagist composer https://mirrors.tencent.com/composer/
composer install --no-interaction --no-autoloader --no-scripts --prefer-dist -vv --profile # --no-dev
composer dump-autoload --optimize --profile
composer config -g repos.packagist composer https://packagist.org
php prepare.php +inotify +mongodb +xlswriter --with-download-mirror-url=https://swoole-cli.jingjingxyk.com/
bash ./make.sh all-library
bash ./make.sh config
bash ./make.sh build
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

1 participant