ci(docker): 兼容 ext-redis:6.0

Signed-off-by: 李东云 <dongyu.li@luxcreo.ai>
This commit is contained in:
李东云
2023-10-17 10:55:26 +08:00
parent 4e5b0fdbb4
commit f80da66185
3 changed files with 19 additions and 7 deletions

View File

@@ -16,7 +16,7 @@
],
"require": {
"php": "^8.1",
"ext-redis": "^5.3",
"ext-redis": "^5.3|^6.0",
"ext-swoole": "*",
"composer/composer": ">=2.0",
"ergebnis/http-method": "^2.2",
@@ -88,7 +88,20 @@
"Singularity\\HDK\\Test\\Core\\": "tests/"
}
},
"minimum-stability": "dev",
"minimum-stability": "alpha",
"archive": {
"exclude": [
".idea",
"tests",
"scripts",
"Dockerfile",
".gitignore",
".php-cs-fixer.*",
".phpunit.result.cache",
"phpstan.dist.neon",
"phpunit.xml"
]
},
"prefer-stable": true,
"scripts": {
"post-root-package-install": [],

8
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "1f8adbdae4d13fc76edc8711fb58d1fd",
"content-hash": "62f0f2fe99d4e03fb859cd27fbc9e169",
"packages": [
{
"name": "composer/ca-bundle",
@@ -12166,7 +12166,7 @@
}
],
"aliases": [],
"minimum-stability": "dev",
"minimum-stability": "alpha",
"stability-flags": {
"roave/security-advisories": 20
},
@@ -12174,11 +12174,11 @@
"prefer-lowest": false,
"platform": {
"php": "^8.1",
"ext-redis": "^5.3",
"ext-redis": "^5.3|^6.0",
"ext-swoole": "*",
"ext-libxml": "*",
"ext-dom": "*"
},
"platform-dev": [],
"plugin-api-version": "2.3.0"
"plugin-api-version": "2.6.0"
}

View File

@@ -2,7 +2,6 @@
docker run \
--pull always \
-e COMPOSER_ALLOW_SUPERUSER=1 \
-ti --rm --name "hdk-core" \
-w "/srv/www" \
-v "$(pwd)":/srv/www \