horizon, php-worker | GnuPG
This commit is contained in:
parent
91e329a84d
commit
3d17a13789
@ -57,6 +57,23 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
|
|||||||
docker-php-ext-install bz2 \
|
docker-php-ext-install bz2 \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# PHP GnuPG:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
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; \
|
||||||
|
docker-php-ext-enable gnupg; \
|
||||||
|
fi
|
||||||
|
|
||||||
#Install GD package:
|
#Install GD package:
|
||||||
ARG INSTALL_GD=false
|
ARG INSTALL_GD=false
|
||||||
RUN if [ ${INSTALL_GD} = true ]; then \
|
RUN if [ ${INSTALL_GD} = true ]; then \
|
||||||
|
@ -59,6 +59,23 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
|
|||||||
docker-php-ext-install bz2; \
|
docker-php-ext-install bz2; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# PHP GnuPG:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
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; \
|
||||||
|
docker-php-ext-enable gnupg; \
|
||||||
|
fi
|
||||||
|
|
||||||
#Install GD package:
|
#Install GD package:
|
||||||
ARG INSTALL_GD=false
|
ARG INSTALL_GD=false
|
||||||
RUN if [ ${INSTALL_GD} = true ]; then \
|
RUN if [ ${INSTALL_GD} = true ]; then \
|
||||||
|
Loading…
Reference in New Issue
Block a user