You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Initial plan
* Update static-php-cli version from 2.7.1 to 2.7.6
Co-authored-by: leocavalcante <183722+leocavalcante@users.noreply.github.com>
* Update Swoole version references to v5.1.8 in documentation
Co-authored-by: leocavalcante <183722+leocavalcante@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: leocavalcante <183722+leocavalcante@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,13 +91,13 @@ The project uses a two-stage GitHub Actions pipeline:
91
91
The complete build process consists of two stages:
92
92
93
93
1.**PHP Binary Compilation** (`php.yml`):
94
-
- Checks out the [static-php-cli](https://github.com/crazywhalecc/static-php-cli) repository (version 2.6.1)
94
+
- Checks out the [static-php-cli](https://github.com/crazywhalecc/static-php-cli) repository (version 2.7.6)
95
95
- Sets up PHP build environment with required tools and extensions
96
96
- Downloads dependencies and compiles PHP with all extensions for multiple PHP versions (8.1, 8.2, 8.3, 8.4)
97
97
- Creates static PHP binaries for both AMD64 and ARM64 architectures
98
98
- Uses matrix builds with architecture-specific runners (ubuntu-24.04 for AMD64, ubuntu-24.04-arm for ARM64)
99
99
- Includes Xdebug extension as a shared module for base images
100
-
- Updates Swoole to specific versions per PHP version (v5.1.7 for PHP 8.1-8.3, v6.0.2 for PHP 8.4)
100
+
- Updates Swoole to specific versions per PHP version (v5.1.8 for PHP 8.1-8.3, v6.0.2 for PHP 8.4)
101
101
- Uploads binaries as GitHub artifacts with version and architecture naming
102
102
103
103
2.**Docker Image Creation** (`image.yml`):
@@ -114,7 +114,7 @@ The complete build process consists of two stages:
114
114
115
115
This project combines static PHP binaries with Google's Distroless base images to create minimal, secure PHP runtime containers:
116
116
117
-
1.**Static PHP Binaries**: Pre-compiled PHP binaries from [static-php-cli](https://github.com/crazywhalecc/static-php-cli) v2.6.1 are built with 60+ extensions for multiple PHP versions (8.1, 8.2, 8.3, 8.4)
117
+
1.**Static PHP Binaries**: Pre-compiled PHP binaries from [static-php-cli](https://github.com/crazywhalecc/static-php-cli) v2.7.6 are built with 60+ extensions for multiple PHP versions (8.1, 8.2, 8.3, 8.4)
118
118
2.**Multi-arch Build**: Docker build process uses architecture-specific binaries (AMD64 or ARM64) via build arguments (PHPVERSION and TARGETARCH)
119
119
3.**Distroless Base**: Uses `gcr.io/distroless/cc-debian12:nonroot` for minimal attack surface and runs as non-root user
120
120
4.**Base Images**: Debian 12.11-based images with Composer 2.8 and Xdebug for development workflows
0 commit comments