php-fpm, workspace | GnuPG
This commit is contained in:
		@@ -96,6 +96,21 @@ RUN if [ ${INSTALL_GMP} = true ]; then \
 | 
			
		||||
    docker-php-ext-install gmp \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
###########################################################################
 | 
			
		||||
# GnuPG:
 | 
			
		||||
###########################################################################
 | 
			
		||||
 | 
			
		||||
ARG INSTALL_GNUPG=false
 | 
			
		||||
 | 
			
		||||
RUN if [ ${INSTALL_GNUPG} = true ]; then \
 | 
			
		||||
      apt-get -yq install libgpgme-dev; \
 | 
			
		||||
      if [ $(php -r "echo PHP_MAJOR_VERSION;") = "8" ]; then \
 | 
			
		||||
        pecl install gnupg-1.5.0RC2; \
 | 
			
		||||
      else \
 | 
			
		||||
        pecl install gnupg; \
 | 
			
		||||
      fi; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
###########################################################################
 | 
			
		||||
# SSH2:
 | 
			
		||||
###########################################################################
 | 
			
		||||
 
 | 
			
		||||
@@ -270,6 +270,16 @@ RUN if [ ${INSTALL_GMP} = true ]; then \
 | 
			
		||||
  apt-get -y install php${LARADOCK_PHP_VERSION}-gmp \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
###########################################################################
 | 
			
		||||
# GnuPG:
 | 
			
		||||
###########################################################################
 | 
			
		||||
 | 
			
		||||
ARG INSTALL_GNUPG=false
 | 
			
		||||
 | 
			
		||||
RUN if [ ${INSTALL_GNUPG} = true ]; then \
 | 
			
		||||
      apt-get install -yqq php${LARADOCK_PHP_VERSION}-gnupg; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
###########################################################################
 | 
			
		||||
# SSH2:
 | 
			
		||||
###########################################################################
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user