Skip to content

Commit eb9e9be

Browse files
loks0nclaude
andcommitted
Pin Swoole base to released 6.2.0 instead of nightly
The nightly self-reports as 6.2.1 even though no such release exists upstream — it's just master's in-development version after v6.2.0. Pin to the actual released 6.2.0-php8.5-alpine image for clarity. Tests now assert exact versions (PHP 8.5.4, Swoole 6.2.0) since the base image is fully pinned and won't drift. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 488da0c commit eb9e9be

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_IMAGE="phpswoole/swoole:php8.5-alpine@sha256:ba7d2d342ba0e3fef134098fcb95a9bc2de278e14ed5d775f683a412c3a66790"
1+
ARG BASE_IMAGE="phpswoole/swoole:6.2.0-php8.5-alpine"
22
ARG PHP_BUILD_DATE="20250925"
33

44
FROM $BASE_IMAGE AS compile

tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ commandTests:
9292
command: "php"
9393
args: ["-v"]
9494
expectedOutput:
95-
- "PHP 8\\.5\\.\\d+ \\(cli\\).*"
95+
- "PHP 8.5.4 (cli)*"
9696
- name: 'ImageMagick supported formats'
9797
command: "php"
9898
args: ["-i"]
@@ -107,7 +107,7 @@ commandTests:
107107
command: "php"
108108
args: ["--re", "swoole"]
109109
expectedOutput:
110-
- ".*version 6\\.2\\.\\d+.*"
110+
- ".*version 6.2.0.*"
111111
- name: 'ZIP'
112112
command: "zip"
113113
args: ["-v"]

0 commit comments

Comments
 (0)