Skip to content

Commit faed4f8

Browse files
committed
Upgrade to Alpine Linux 3.23, Nginx 1.28
1 parent 65b59f7 commit faed4f8

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
ARG ALPINE_VERSION=3.21
1+
ARG ALPINE_VERSION=3.23
22
FROM alpine:${ALPINE_VERSION}
33
LABEL Maintainer="Tim de Pater <[email protected]>"
4-
LABEL Description="Lightweight container with Nginx 1.26 & PHP 8.4 based on Alpine Linux."
4+
LABEL Description="Lightweight container with Nginx 1.28 & PHP 8.4 based on Alpine Linux."
55
# Setup document root
66
WORKDIR /var/www/html
77

@@ -29,15 +29,13 @@ RUN apk add --no-cache \
2929
php84-xmlwriter \
3030
supervisor
3131

32-
RUN ln -s /usr/bin/php84 /usr/bin/php
33-
3432
# Configure nginx - http
3533
COPY config/nginx.conf /etc/nginx/nginx.conf
3634
# Configure nginx - default server
3735
COPY config/conf.d /etc/nginx/conf.d/
3836

3937
# Configure PHP-FPM
40-
ENV PHP_INI_DIR /etc/php84
38+
ENV PHP_INI_DIR=/etc/php84
4139
COPY config/fpm-pool.conf ${PHP_INI_DIR}/php-fpm.d/www.conf
4240
COPY config/php.ini ${PHP_INI_DIR}/conf.d/custom.ini
4341

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Docker PHP-FPM 8.4 & Nginx 1.26 on Alpine Linux
2-
Example PHP-FPM 8.4 & Nginx 1.26 container image for Docker, built on [Alpine Linux](https://www.alpinelinux.org/).
1+
# Docker PHP-FPM 8.4 & Nginx 1.28 on Alpine Linux
2+
Example PHP-FPM 8.4 & Nginx 1.28 container image for Docker, built on [Alpine Linux](https://www.alpinelinux.org/).
33

44
Repository: https://github.com/TrafeX/docker-php-nginx
55

@@ -15,7 +15,7 @@ Repository: https://github.com/TrafeX/docker-php-nginx
1515
* Follows the KISS principle (Keep It Simple, Stupid) to make it easy to understand and adjust the image to your needs
1616

1717
[![Docker Pulls](https://img.shields.io/docker/pulls/trafex/php-nginx.svg)](https://hub.docker.com/r/trafex/php-nginx/)
18-
![nginx 1.26](https://img.shields.io/badge/nginx-1.26-brightgreen.svg)
18+
![nginx 1.28](https://img.shields.io/badge/nginx-1.28-brightgreen.svg)
1919
![php 8.4](https://img.shields.io/badge/php-8.4-brightgreen.svg)
2020
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)
2121

0 commit comments

Comments
 (0)