Skip to content

Commit

Permalink
No custom pcov/grpc testing version for php8.2 on alpine 3.19.0 anymore!
Browse files Browse the repository at this point in the history
  • Loading branch information
en-jschuetze authored Jan 22, 2024
1 parent b103637 commit 299ab9d
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,11 @@ ARG PHP_PACKAGE_BASENAME="php82"
ARG PHP_FPM_BINARY_PATH="/usr/sbin/php-fpm82"
ARG UNIT_VERSION="1.31.1"
ARG APACHE2_VERSION="2.4.58"
ARG GRPC_EXTENSION_VERSION="1.60.0"
ARG GRPC_EXTENSION_REPOSITORY="http://dl-cdn.alpinelinux.org/alpine/edge/community"
ARG PCOV_EXTENSION_VERSION="1.0.11"
ARG PCOV_EXTENSION_REPOSITORY="http://dl-cdn.alpinelinux.org/alpine/edge/community"
ENV PHP_VERSION=$PHP_VERSION
ENV PHP_PACKAGE_BASENAME=$PHP_PACKAGE_BASENAME
ENV PHP_FPM_BINARY_PATH=$PHP_FPM_BINARY_PATH
ENV UNIT_VERSION=$UNIT_VERSION
ENV APACHE2_VERSION=$APACHE2_VERSION
ENV GRPC_EXTENSION_VERSION=$GRPC_EXTENSION_VERSION
ENV GRPC_EXTENSION_REPOSITORY=$GRPC_EXTENSION_REPOSITORY
ENV PCOV_EXTENSION_VERSION=$PCOV_EXTENSION_VERSION
ENV PCOV_EXTENSION_REPOSITORY=$PCOV_EXTENSION_REPOSITORY

RUN apk upgrade -U # 2024/01/10 upgrade to get latest extensions

Expand Down Expand Up @@ -90,9 +82,8 @@ RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-xmlwriter
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-xmlreader
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-xsl
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-zip

RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-grpc~=$GRPC_EXTENSION_VERSION --repository $GRPC_EXTENSION_REPOSITORY
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-pcov~=$PCOV_EXTENSION_VERSION --repository $PCOV_EXTENSION_REPOSITORY
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-grpc
RUN apk add --no-cache ${PHP_PACKAGE_BASENAME}-pecl-pcov

# add php.ini containing environment variables
COPY files/php.ini /etc/${PHP_PACKAGE_BASENAME}/php.ini
Expand Down

0 comments on commit 299ab9d

Please sign in to comment.