Skip to content

Commit 411c324

Browse files
committed
chore: upgrade default version to bookworm, 8.2.29
1 parent f9e6cf9 commit 411c324

2 files changed

Lines changed: 18 additions & 8 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ARG DEBIAN_VERSION=bullseye
2-
ARG PHP_VERSION=7.4.33
1+
ARG DEBIAN_VERSION=bookworm
2+
ARG PHP_VERSION=8.2.29
33

44
FROM php:$PHP_VERSION-fpm-$DEBIAN_VERSION
55

README.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ docker run -d \
2424
-e WP_DB_USER=wordpress \
2525
-e WP_DB_PASSWORD=password \
2626
-e WP_DB_NAME=wordpress \
27-
augwit/wordpress:7.4.33
27+
augwit/wordpress:8.2.29
2828
```
2929

3030
Open browser to visit http://localhost, you will see the wordpress language selection page.
@@ -56,7 +56,7 @@ Example of docker-compose, using this image and mysql image:
5656
```yml
5757
services:
5858
web:
59-
image: augwit/wordpress:7.4.33
59+
image: augwit/wordpress:8.2.29
6060
restart: always
6161
ports:
6262
- 80:80
@@ -89,7 +89,7 @@ Below is the example, to set HTTPS for domain name "example.com", so you can vis
8989
```yml
9090
services:
9191
web:
92-
image: augwit/wordpress:7.4.33
92+
image: augwit/wordpress:8.2.29
9393
restart: always
9494
ports:
9595
- 80:80
@@ -126,12 +126,22 @@ However, if you want to use your own certificate or if your environment does not
126126
## Develop
127127
Feel free to visit the repository site on Github: [https://github.com/augwit/wordpress/](https://github.com/augwit/wordpress/)
128128
129-
Build:
129+
Build with specific Debian & PHP version:
130+
131+
```shell
132+
docker build --build-arg DEBIAN_VERSION=trixie --build-arg PHP_VERSION=8.4.13 -t augwit/wordpress:8.4.13 .
133+
```
134+
135+
Build with the default:
136+
130137
```shell
131138
docker build . -t augwit/wordpress:${tagName}
132139
```
133140

134-
Build with another PHP version:
141+
The current default build args are:
142+
135143
```shell
136-
docker build --build-arg DEBIAN_VERSION=bookworm --build-arg PHP_VERSION=8.2.12 -t augwit/wordpress:8.2.12 .
144+
DEBIAN_VERSION=bookworm
145+
PHP_VERSION=8.2.29.
137146
```
147+

0 commit comments

Comments
 (0)