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
docs(readme): fix inaccuracies and remove stale content
- Clarify env vars are v2 only (s6 init applies them)
- Fix security section: appuser is v2 only, v1 runs as root
- Update architecture diagram: remove bullseye, show v1/v2 split
- Fix stale bullseye redirect note with accurate v1/v2 base OS info
- Remove BuildKit as a pro/con (it's now the Docker default)
- Fix docker-compose to Docker Compose
- Note dev dependency cleanup in image sizes
- Replace inline license with reference to LICENSE file
Copy file name to clipboardExpand all lines: README.md
+55-79Lines changed: 55 additions & 79 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,9 +28,9 @@ See [v1 vs v2 comparison](#v1-vs-v2-comparison) below for details.
28
28
29
29
> **ℹ️ Base OS Update (v2 only)**: v2 Debian images now use **Debian Trixie** as the base OS (following upstream PHP official images). For backward compatibility, `:bookworm` tags continue to work and point to the same Trixie-built images. v1 images remain on Bookworm. [See migration notes](docs/migration.md#debian-trixie-migration-v2-only) for details.
30
30
31
-
## Environment Variables
31
+
## Environment Variables (v2 only)
32
32
33
-
The following environment variables can be overridden when running containers:
33
+
The following environment variables are applied at container startup by the s6-overlay init script in **v2 images only**. v1 images do not process these variables.
34
34
35
35
### Memory Settings
36
36
@@ -75,7 +75,7 @@ The following environment variables can be overridden when running containers:
75
75
### Example usage
76
76
77
77
```bash
78
-
docker run -e PHP_MEMORY_LIMIT=512M -e PHP_MAX_EXECUTION_TIME=600 kingpin/php-docker:8.3-fpm-alpine
78
+
docker run -e PHP_MEMORY_LIMIT=512M -e PHP_MAX_EXECUTION_TIME=600 kingpin/php-docker:8.3-fpm-alpine-v2
79
79
```
80
80
81
81
## 🚀 Quick Start
@@ -118,15 +118,13 @@ We maintain **two image variants** to support both existing users and modern use
118
118
119
119
- Simpler Dockerfile with fewer runtime layers
120
120
- No s6-overlay or external init system
121
-
- Builds with standard `docker build` (no BuildKit required)
122
-
- Smaller image footprint in some configurations
121
+
- Smaller image footprint
123
122
124
123
**Pros:**
125
124
126
-
✅ Drop-in replacement for existing deployments
127
-
✅ Simpler container runtime behavior
128
-
✅ Smaller learning curve
129
-
✅ No BuildKit dependency for local builds
125
+
✅ Drop-in replacement for existing deployments
126
+
✅ Simpler container runtime behavior
127
+
✅ Smaller learning curve
130
128
131
129
**Cons:**
132
130
@@ -151,22 +149,21 @@ We maintain **two image variants** to support both existing users and modern use
151
149
- Uses [s6-overlay](https://github.com/just-containers/s6-overlay) as PID 1 init
152
150
- Proper signal handling and zombie process reaping
153
151
- Service supervision and restart policies
154
-
- BuildKit-enabled for better build performance and caching
155
152
- Built on Debian Trixie (`:trixie` tags) with `:bookworm` compatibility aliases
> **Note:**PHP 8.1+ images are built on Bookworm (Debian 12). Bullseye tags redirect to Bookworm for PHP 8.1+.
335
+
> **Note:**v1 Debian images use Bookworm. v2 Debian images use Trixie, with `:bookworm-v2`tags as compatibility aliases pointing to the same Trixie-built images.
339
336
340
337
### Deprecated Tags (v1 only)
341
338
@@ -360,17 +357,17 @@ The following tags are deprecated and will not be built going forward, but remai
360
357
361
358
## 📊 Image Sizes
362
359
363
-
Approximate compressed sizes (v1 / v2):
360
+
Approximate compressed sizes (vary by PHP version and platform):
0 commit comments