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
Copy file name to clipboardExpand all lines: README.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
# WordPress with Xdebug, Redis and Intl
2
2
3
-
This repository contains Docker images for WordPress with Xdebug, Redis and the PHP Intl extension pre-installed, designed for local development environments.
3
+
This repository contains lightweight Docker images for WordPress with Xdebug, Redis and the PHP Intl extension pre-installed, designed for local development environments.
4
4
5
5
## Available Tags
6
6
7
-
Images are available for various PHP versions:
7
+
Multi-architecture images (amd64, arm64) available for various PHP versions:
@@ -40,19 +38,27 @@ docker run -d -p 8080:80 pattonwebz/local-wordpress-with-xdebug:php8.2-apache
40
38
- For PHP 7.x images: Xdebug 2.x is configured on port 9000
41
39
- For PHP 8.x images: Xdebug 3.x is configured on port 9003
42
40
41
+
### Using with Apple Silicon Macs or Raspberry Pi
42
+
43
+
The images support both amd64 (standard x86_64) and arm64 architectures, making them compatible with Apple Silicon Macs (M1/M2/M3) and Raspberry Pi devices without any special configuration.
44
+
43
45
## Building the Images
44
46
45
-
You can build all images locally using the provided `build.sh` script:
47
+
You can build images locally using the provided `build.sh` script:
46
48
47
49
```bash
50
+
# Build for your current architecture
48
51
./build.sh
52
+
53
+
# Build multi-architecture images
54
+
./build.sh --multi-arch
49
55
```
50
56
51
57
## Automated Builds
52
58
53
59
Images are automatically built and pushed to Docker Hub using GitHub Actions:
54
-
- On pushes to main/master branches
55
60
- On the 1st of each month to incorporate security updates
0 commit comments