From b60287fe46e85d5d1af0088e4421950ba0222857 Mon Sep 17 00:00:00 2001 From: Samuel Fontebasso Date: Sun, 30 Jul 2023 20:12:48 -0300 Subject: [PATCH] upgrade php to 8.2 and removing grpc support --- Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index a2651cc..96c97b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ ARG NAME_IMAGE_BASE='php' -ARG NAME_IMAGE_TAG='8.1-fpm-alpine3.16' +ARG NAME_IMAGE_TAG='8.2-fpm-alpine3.16' FROM ${NAME_IMAGE_BASE}:${NAME_IMAGE_TAG} ARG BUILD_ID="unknown" ARG COMMIT_ID="unknown" ARG VERSION_OS='3.16' -ARG VERSION_PHP='8.1' +ARG VERSION_PHP='8.2' LABEL \ ALPINE="$VERSION_OS" \ @@ -54,11 +54,6 @@ RUN set -ex; \ zip; \ pecl install imagick; \ docker-php-ext-enable --ini-name docker-php-ext-x-01-imagick.ini imagick; \ - echo "#include " > /usr/include/sys/unistd.h; \ - pecl install grpc; \ - docker-php-ext-enable --ini-name docker-php-ext-x-05-grpc.ini grpc; \ - pecl install protobuf; \ - docker-php-ext-enable --ini-name docker-php-ext-x-06-protobuf.ini protobuf; \ ln -sf /dev/stdout /var/log/nginx/access.log; \ ln -sf /dev/stderr /var/log/nginx/error.log; \ mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"; \