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