Skip to content

Commit 43716d8

Browse files
committed
Upgrade Alpine Linux to 3.20 and Nginx to 1.26
1 parent 78d8b07 commit 43716d8

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM alpine:3.19
1+
FROM alpine:3.20
22
LABEL Maintainer="Tim de Pater <[email protected]>" \
3-
Description="Lightweight WordPress container with Nginx 1.24 & PHP-FPM 8.3 based on Alpine Linux."
3+
Description="Lightweight WordPress container with Nginx 1.26 & PHP-FPM 8.3 based on Alpine Linux."
44

55
# Install packages
66
RUN apk --no-cache add \
@@ -64,9 +64,6 @@ RUN curl -o wordpress.tar.gz -SL https://wordpress.org/wordpress-${WORDPRESS_VER
6464
&& rm wordpress.tar.gz \
6565
&& chown -R nobody.nobody /usr/src/wordpress
6666

67-
# Create symlink for php
68-
RUN ln -s /usr/bin/php83 /usr/bin/php
69-
7067
# Add WP CLI
7168
RUN curl -o /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \
7269
&& chmod +x /usr/local/bin/wp

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
# WordPress Docker Container
33

4-
Lightweight WordPress container with Nginx 1.24 & PHP-FPM 8.3 based on Alpine Linux.
4+
Lightweight WordPress container with Nginx 1.26 & PHP-FPM 8.3 based on Alpine Linux.
55

66
_WordPress version currently installed:_ **6.5**
77

@@ -17,7 +17,7 @@ _WordPress version currently installed:_ **6.5**
1717
* Fully configurable because wp-config.php uses the environment variables you can pass as an argument to the container
1818

1919
[![Docker Pulls](https://img.shields.io/docker/pulls/trafex/wordpress.svg)](https://hub.docker.com/r/trafex/wordpress/)
20-
![nginx 1.24](https://img.shields.io/badge/nginx-1.24-brightgreen.svg)
20+
![nginx 1.26](https://img.shields.io/badge/nginx-1.26-brightgreen.svg)
2121
![php 8.3](https://img.shields.io/badge/php-8.3-brightgreen.svg)
2222
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)
2323

0 commit comments

Comments
 (0)