Skip to content

Commit d764e5c

Browse files
committed
Upgrade Alpine Linux to 3.20 and Nginx to 1.26
1 parent 519bec5 commit d764e5c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Dockerfile

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG ALPINE_VERSION=3.19
1+
ARG ALPINE_VERSION=3.20
22
FROM alpine:${ALPINE_VERSION}
33
LABEL Maintainer="Tim de Pater <[email protected]>"
44
LABEL Description="Lightweight container with Nginx 1.24 & PHP 8.3 based on Alpine Linux."
@@ -45,9 +45,6 @@ COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
4545
# Make sure files/folders needed by the processes are accessable when they run under the nobody user
4646
RUN chown -R nobody.nobody /var/www/html /run /var/lib/nginx /var/log/nginx
4747

48-
# Create symlink for php
49-
RUN ln -s /usr/bin/php83 /usr/bin/php
50-
5148
# Switch to use a non-root user from here on
5249
USER nobody
5350

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -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.24](https://img.shields.io/badge/nginx-1.24-brightgreen.svg)
18+
![nginx 1.24](https://img.shields.io/badge/nginx-1.26-brightgreen.svg)
1919
![php 8.3](https://img.shields.io/badge/php-8.3-brightgreen.svg)
2020
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg)
2121

0 commit comments

Comments
 (0)