This commit is contained in:
		@@ -26,17 +26,14 @@ h2() {
 | 
			
		||||
h1 "Configure PHP modules"
 | 
			
		||||
case $PHP_VERSION in
 | 
			
		||||
    '80' )
 | 
			
		||||
		h2 "Configure GD - 8.0"
 | 
			
		||||
		h2 "[php8] Configure GD"
 | 
			
		||||
		docker-php-ext-configure gd \
 | 
			
		||||
	         --with-freetype-dir=/usr/lib/ \
 | 
			
		||||
	         --with-png-dir=/usr/lib/ \
 | 
			
		||||
	         --with-jpeg-dir=/usr/lib/ \
 | 
			
		||||
	         --with-gd \
 | 
			
		||||
	         --with-freetype \
 | 
			
		||||
	         --with-jpeg \
 | 
			
		||||
	         --with-webp
 | 
			
		||||
    ;;
 | 
			
		||||
    '74' )
 | 
			
		||||
		h2 "Configure GD"
 | 
			
		||||
		h2 "[php74] Configure GD"
 | 
			
		||||
    	docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp
 | 
			
		||||
		h2 "Install json module"
 | 
			
		||||
    	docker-php-ext-install -j$(nproc) json
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user