Upgrade Alpine Linux to 3.17

This commit is contained in:
Tim de Pater
2023-01-07 07:09:35 +01:00
parent 31e09d9b2a
commit ef39565a26

View File

@@ -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