mirror of
https://github.com/netfun2000/docker-php-nginx.git
synced 2026-04-22 00:29:10 +08:00
Upgrade Alpine Linux to 3.17
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
ARG ALPINE_VERSION=3.16
|
ARG ALPINE_VERSION=3.17
|
||||||
FROM alpine:${ALPINE_VERSION}
|
FROM alpine:${ALPINE_VERSION}
|
||||||
LABEL Maintainer="Tim de Pater <code@trafex.nl>"
|
LABEL Maintainer="Tim de Pater <code@trafex.nl>"
|
||||||
LABEL Description="Lightweight container with Nginx 1.22 & PHP 8.1 based on Alpine Linux."
|
LABEL Description="Lightweight container with Nginx 1.22 & PHP 8.1 based on Alpine Linux."
|
||||||
@@ -26,9 +26,6 @@ RUN apk add --no-cache \
|
|||||||
php81-xmlreader \
|
php81-xmlreader \
|
||||||
supervisor
|
supervisor
|
||||||
|
|
||||||
# Create symlink so programs depending on `php` still function
|
|
||||||
RUN ln -s /usr/bin/php81 /usr/bin/php
|
|
||||||
|
|
||||||
# Configure nginx - http
|
# Configure nginx - http
|
||||||
COPY config/nginx.conf /etc/nginx/nginx.conf
|
COPY config/nginx.conf /etc/nginx/nginx.conf
|
||||||
# Configure nginx - default server
|
# Configure nginx - default server
|
||||||
|
|||||||
Reference in New Issue
Block a user