POSTGIS Postgres Extension (#2110)
* created PHP_FPM_INSTALL_POSTGIS variable * install postgis if needs * install_postgis variable
This commit is contained in:
		
				
					committed by
					
						
						Shao Yu-Lung (Allen)
					
				
			
			
				
	
			
			
			
						parent
						
							d8b3cb5a52
						
					
				
				
					commit
					0980523049
				
			@@ -128,13 +128,17 @@ RUN if [ ${INSTALL_PGSQL} = true ]; then \
 | 
			
		||||
###########################################################################
 | 
			
		||||
 | 
			
		||||
ARG INSTALL_PG_CLIENT=false
 | 
			
		||||
ARG INSTALL_POSTGIS=false
 | 
			
		||||
 | 
			
		||||
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
 | 
			
		||||
    # Create folders if not exists (https://github.com/tianon/docker-brew-debian/issues/65)
 | 
			
		||||
    mkdir -p /usr/share/man/man1 && \
 | 
			
		||||
    mkdir -p /usr/share/man/man7 && \
 | 
			
		||||
    # Install the pgsql client
 | 
			
		||||
    apt-get install -y postgresql-client \
 | 
			
		||||
    apt-get install -y postgresql-client && \
 | 
			
		||||
    if [ ${INSTALL_POSTGIS} = true ]; then \
 | 
			
		||||
      apt-get install -y postgis; \
 | 
			
		||||
    fi \
 | 
			
		||||
;fi
 | 
			
		||||
 | 
			
		||||
###########################################################################
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user