mirror of
https://github.com/netfun2000/docker-php-nginx.git
synced 2026-08-12 23:11:38 +08:00
Upgrade Alpine Linux to 3.20 and Nginx to 1.26
This commit is contained in:
+1
-4
@@ -1,4 +1,4 @@
|
||||
ARG ALPINE_VERSION=3.19
|
||||
ARG ALPINE_VERSION=3.20
|
||||
FROM alpine:${ALPINE_VERSION}
|
||||
LABEL Maintainer="Tim de Pater <code@trafex.nl>"
|
||||
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
|
||||
# Make sure files/folders needed by the processes are accessable when they run under the nobody user
|
||||
RUN chown -R nobody.nobody /var/www/html /run /var/lib/nginx /var/log/nginx
|
||||
|
||||
# Create symlink for php
|
||||
RUN ln -s /usr/bin/php83 /usr/bin/php
|
||||
|
||||
# Switch to use a non-root user from here on
|
||||
USER nobody
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ Repository: https://github.com/TrafeX/docker-php-nginx
|
||||
* Follows the KISS principle (Keep It Simple, Stupid) to make it easy to understand and adjust the image to your needs
|
||||
|
||||
[](https://hub.docker.com/r/trafex/php-nginx/)
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
|
||||
Reference in New Issue
Block a user