Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 29 additions & 30 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,37 +14,36 @@ LABEL org.opencontainers.image.source="https://github.com/TrafeX/docker-wordpres
LABEL org.opencontainers.image.version="${VERSION}"
LABEL org.opencontainers.image.revision="${VCS_REF}"
LABEL org.opencontainers.image.vendor="TrafeX"
LABEL org.opencontainers.image.title="WordPress with Nginx 1.28 & PHP-FPM 8.4"
LABEL org.opencontainers.image.description="Lightweight WordPress container with Nginx 1.28 & PHP-FPM 8.4 based on Alpine Linux."
LABEL org.opencontainers.image.title="WordPress with Nginx 1.30 & PHP-FPM 8.5"
LABEL org.opencontainers.image.description="Lightweight WordPress container with Nginx 1.30 & PHP-FPM 8.5 based on Alpine Linux."

# Install packages
RUN apk --no-cache add \
'php84>=8.4.27' \
'php84-fpm>=8.4.27' \
php84-mysqli \
php84-json \
php84-openssl \
php84-curl \
php84-zlib \
php84-xml \
php84-phar \
php84-intl \
php84-dom \
php84-xmlreader \
php84-xmlwriter \
php84-exif \
php84-fileinfo \
php84-sodium \
php84-gd \
php84-simplexml \
php84-ctype \
php84-mbstring \
php84-zip \
php84-opcache \
php84-iconv \
php84-pecl-imagick \
php84-session \
php84-tokenizer \
'php85>=8.5.12' \
'php85-fpm>=8.5.12' \
php85-mysqli \
php85-json \
php85-openssl \
php85-curl \
php85-zlib \
php85-xml \
php85-phar \
php85-intl \
php85-dom \
php85-xmlreader \
php85-xmlwriter \
php85-exif \
php85-fileinfo \
php85-sodium \
php85-gd \
php85-simplexml \
php85-ctype \
php85-mbstring \
php85-zip \
php85-iconv \
php85-pecl-imagick \
php85-session \
php85-tokenizer \
nginx \
supervisor \
curl \
Expand All @@ -55,8 +54,8 @@ RUN apk --no-cache add \
COPY config/nginx.conf /etc/nginx/nginx.conf

# Configure PHP-FPM
COPY config/fpm-pool.conf /etc/php84/php-fpm.d/zzz_custom.conf
COPY config/php.ini /etc/php84/conf.d/zzz_custom.ini
COPY config/fpm-pool.conf /etc/php85/php-fpm.d/zzz_custom.conf
COPY config/php.ini /etc/php85/conf.d/zzz_custom.ini

# Configure supervisord
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WordPress Docker Container

Lightweight WordPress container with Nginx 1.28 & PHP-FPM 8.4 based on Alpine Linux.
Lightweight WordPress container with Nginx 1.30 & PHP-FPM 8.5 based on Alpine Linux.

_WordPress version currently installed:_ **7.1.3**

Expand All @@ -11,13 +11,13 @@ _WordPress version currently installed:_ **7.1.3**
- Multi-platform, supporting AMD4, ARMv6, ARMv7, ARM64
- Built on the lightweight Alpine Linux distribution
- Small Docker image size (+/-90MB)
- Uses PHP 8.4 for the best performance, low cpu usage & memory footprint
- Uses PHP 8.5 for the best performance, low cpu usage & memory footprint
- Can safely be updated without losing data
- Fully configurable because wp-config.php uses the environment variables you can pass as an argument to the container

[![Docker Pulls](https://img.shields.io/docker/pulls/trafex/wordpress.svg)](https://hub.docker.com/r/trafex/wordpress/)
![nginx 1.28](https://img.shields.io/badge/nginx-1.28-brightgreen.svg)
![php 8.4](https://img.shields.io/badge/php-8.4-brightgreen.svg)
![nginx 1.30](https://img.shields.io/badge/nginx-1.30-brightgreen.svg)
![php 8.5](https://img.shields.io/badge/php-8.5-brightgreen.svg)
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)

## [![Trafex Consultancy](https://timdepater.com/logo/mini-logo.png)](https://timdepater.com?mtm_campaign=github)
Expand Down
2 changes: 1 addition & 1 deletion config/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ logfile=/var/log/supervisord.log
pidfile=/run/supervisord.pid

[program:php-fpm]
command=php-fpm84 -F
command=php-fpm85 -F
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
redirect_stderr=true
Expand Down
Loading