Fix tests(xdebug, mongodb)

This commit is contained in:
Erik Niebla
2021-12-20 10:48:36 -05:00
parent 9f0657e2b0
commit 4171871ab2
4 changed files with 13 additions and 33 deletions

View File

@ -64,11 +64,7 @@ ARG INSTALL_GNUPG=false
RUN set -eux; if [ ${INSTALL_GNUPG} = true ]; then \
apk add --no-cache --no-progress --virtual BUILD_DEPS_PHP_GNUPG gpgme-dev; \
apk add --no-cache --no-progress gpgme; \
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
pecl install gnupg-1.5.0RC2; \
else \
pecl install gnupg; \
fi; \
pecl install gnupg; \
docker-php-ext-enable gnupg; \
fi