Fix: docker 26 dns issue

This commit is contained in:
Alexander Pankratov 2024-05-14 18:18:12 +02:00
parent 6c415400b3
commit d99fbe9c22
2 changed files with 42 additions and 21 deletions

View File

@ -17,6 +17,12 @@
"micro-service", "micro-service",
"madelineproto" "madelineproto"
], ],
"repositories": [
{
"type": "github",
"url": "https://github.com/xtrime-ru/dns"
}
],
"require": { "require": {
"php": "^8.1", "php": "^8.1",
"ext-json": "*", "ext-json": "*",
@ -28,7 +34,8 @@
"amphp/websocket-server": "^v3", "amphp/websocket-server": "^v3",
"amphp/websocket-client": "^v2", "amphp/websocket-client": "^v2",
"vlucas/phpdotenv": "^4", "vlucas/phpdotenv": "^4",
"danog/madelineproto": "dev-v8_fix_cleanup" "danog/madelineproto": "dev-v8_fix_cleanup",
"amphp/dns": "2.x-dev"
}, },
"suggest": { "suggest": {
"ext-pcntl": "Install pcintl for propper signal handling and healthcheck (enabled in .env)" "ext-pcntl": "Install pcintl for propper signal handling and healthcheck (enabled in .env)"

54
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "7999d0b15d74aafe194545856812c5d7", "content-hash": "fa0829731f1399d1872730a90911afc8",
"packages": [ "packages": [
{ {
"name": "amphp/amp", "name": "amphp/amp",
@ -229,16 +229,16 @@
}, },
{ {
"name": "amphp/dns", "name": "amphp/dns",
"version": "v2.1.2", "version": "2.x-dev",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/amphp/dns.git", "url": "https://github.com/xtrime-ru/dns.git",
"reference": "04c88e67bef804203df934703bd422ea72f46b0e" "reference": "2a70849cdcf5eb961574fee3b33915e2bebb4b70"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/amphp/dns/zipball/04c88e67bef804203df934703bd422ea72f46b0e", "url": "https://api.github.com/repos/xtrime-ru/dns/zipball/2a70849cdcf5eb961574fee3b33915e2bebb4b70",
"reference": "04c88e67bef804203df934703bd422ea72f46b0e", "reference": "2a70849cdcf5eb961574fee3b33915e2bebb4b70",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -258,16 +258,36 @@
"phpunit/phpunit": "^9", "phpunit/phpunit": "^9",
"psalm/phar": "5.20" "psalm/phar": "5.20"
}, },
"default-branch": true,
"type": "library", "type": "library",
"autoload": { "autoload": {
"files": [
"src/functions.php"
],
"psr-4": { "psr-4": {
"Amp\\Dns\\": "src" "Amp\\Dns\\": "src"
},
"files": [
"src/functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Amp\\Dns\\Test\\": "test"
} }
}, },
"notification-url": "https://packagist.org/downloads/", "scripts": {
"check": [
"@cs",
"@test"
],
"cs": [
"PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff --dry-run"
],
"cs-fix": [
"PHP_CS_FIXER_IGNORE_ENV=1 php-cs-fixer fix -v --diff"
],
"test": [
"@php -dzend.assertions=1 -dassert.exception=1 ./vendor/bin/phpunit --coverage-text"
]
},
"license": [ "license": [
"MIT" "MIT"
], ],
@ -304,16 +324,9 @@
"resolve" "resolve"
], ],
"support": { "support": {
"issues": "https://github.com/amphp/dns/issues", "source": "https://github.com/xtrime-ru/dns/tree/2.x"
"source": "https://github.com/amphp/dns/tree/v2.1.2"
}, },
"funding": [ "time": "2024-05-14T16:13:20+00:00"
{
"url": "https://github.com/amphp",
"type": "github"
}
],
"time": "2024-04-19T03:49:29+00:00"
}, },
{ {
"name": "amphp/file", "name": "amphp/file",
@ -4561,7 +4574,8 @@
"aliases": [], "aliases": [],
"minimum-stability": "dev", "minimum-stability": "dev",
"stability-flags": { "stability-flags": {
"danog/madelineproto": 20 "danog/madelineproto": 20,
"amphp/dns": 20
}, },
"prefer-stable": true, "prefer-stable": true,
"prefer-lowest": false, "prefer-lowest": false,