switch to php 8.1

This commit is contained in:
Jonas Leder 2022-05-31 14:18:47 +02:00
parent 71ce6ee81b
commit bab8fc435e
No known key found for this signature in database
GPG key ID: CC3C488E27DFF5CA

View file

@ -20,13 +20,13 @@ RUN composer install
# |--------------------------------------------------------------------------
# | Install Webserver
# |--------------------------------------------------------------------------
FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:8-latest as production
FROM gitlab.jonasled.de/jonasled/nginx-php-minimal:81-latest as production
ENV PHP_FILE_UPLOADS=Off \
PHP_MAX_POST=1M
RUN apk update && \
apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache && \
apk add php81-mysqli php81-mbstring php81-curl php81-simplexml --no-cache && \
rm /etc/nginx/http.d/default.conf
COPY --from=composer /build/public .