added php version
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
gyurix
2024-07-01 09:10:19 +02:00
parent 3b951b5cdf
commit f214f0aafd

View File

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