This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM alpine:latest
|
||||
|
||||
ENV NGINX_VERSION=1.25.4
|
||||
ARG PHP_VERSION="8.2"
|
||||
ARG PHP_VERSION="83"
|
||||
|
||||
RUN \
|
||||
build_pkgs="build-base linux-headers openssl-dev pcre-dev wget zlib-dev" && \
|
||||
@@ -57,10 +57,8 @@ RUN \
|
||||
apk del ${build_pkgs} && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
||||
ARG PHP_MODULE="82"
|
||||
|
||||
RUN apk --no-cache add php8=${PHP_VERSION} \
|
||||
php${PHP_MODULE}-curl
|
||||
php${PHP_VERSION}-curl
|
||||
|
||||
COPY nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
|
Reference in New Issue
Block a user