From a33c72ea9bcc29af75da2e399e5c61927d31bdbc Mon Sep 17 00:00:00 2001 From: bruno Date: Thu, 16 May 2024 00:47:47 +0200 Subject: [PATCH] fix(runtime/php): wrong dependency Wrong composer dependency for aws sdk. --- Taskfile.yml | 2 +- runtime/php/v8.0/composer.json | 2 +- runtime/php/v8.1/composer.json | 3 ++- runtime/php/v8.2/composer.json | 2 +- runtime/php/v8.3/composer.json | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 2c70fbf..169e6a0 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -84,7 +84,7 @@ tasks: cmds: - | BASEIMG=$(echo "${MY_GITHUB_REGISTRY:-$GITHUB_REGISTRY}") - RUNTIME="$BASEIMG/runtime-{{.RT}}-{{.VER}}:{{.TAG}}" + RUNTIME="{{.BASEIMG}}/runtime-{{.RT}}-{{.VER}}:{{.TAG}}" if test -n "{{.PUSH}}" then {{.DRY}} docker buildx build -t "$RUNTIME" --build-arg COMMON="{{.COMMON}}" --platform linux/amd64,linux/arm64 . --push else {{.DRY}} docker buildx build -t "$RUNTIME" --build-arg COMMON="{{.COMMON}}" . --load diff --git a/runtime/php/v8.0/composer.json b/runtime/php/v8.0/composer.json index 7ca0e64..122249a 100644 --- a/runtime/php/v8.0/composer.json +++ b/runtime/php/v8.0/composer.json @@ -7,6 +7,6 @@ "require": { "guzzlehttp/guzzle": "7.2.0", "ramsey/uuid": "4.1.1", - "league/flysystem": "^2.0" + "aws/aws-sdk-php": "3.209.31 || 3.210.0" } } diff --git a/runtime/php/v8.1/composer.json b/runtime/php/v8.1/composer.json index 70663cb..85c83b6 100644 --- a/runtime/php/v8.1/composer.json +++ b/runtime/php/v8.1/composer.json @@ -7,6 +7,7 @@ "require": { "guzzlehttp/guzzle": "7.4.5", "ramsey/uuid": "4.4.0", - "league/flysystem": "^3.0" + "openai-php/client": "v0.8.5", + "aws/aws-sdk-php": "3.209.31 || 3.210.0" } } diff --git a/runtime/php/v8.2/composer.json b/runtime/php/v8.2/composer.json index 5e175d2..8e3e89e 100644 --- a/runtime/php/v8.2/composer.json +++ b/runtime/php/v8.2/composer.json @@ -8,6 +8,6 @@ "guzzlehttp/guzzle": "7.7.0", "ramsey/uuid": "4.7.4", "openai-php/client": "v0.8.5", - "league/flysystem": "^3.0" + "aws/aws-sdk-php": "3.209.31 || 3.210.0" } } diff --git a/runtime/php/v8.3/composer.json b/runtime/php/v8.3/composer.json index c45de4e..ace65d8 100644 --- a/runtime/php/v8.3/composer.json +++ b/runtime/php/v8.3/composer.json @@ -8,6 +8,6 @@ "guzzlehttp/guzzle": "7.8.1", "ramsey/uuid": "4.7.5", "openai-php/client": "v0.8.5", - "league/flysystem": "^3.0" + "aws/aws-sdk-php": "3.209.31 || 3.210.0" } } \ No newline at end of file