jpeg, remove 7.2 support
	
		
			
	
		
	
	
		
	
		
			Some checks reported errors
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build encountered an error
				
			
		
		
	
	
				
					
				
			
		
			Some checks reported errors
		
		
	
	continuous-integration/drone/push Build encountered an error
				
			This commit is contained in:
		
							
								
								
									
										34
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										34
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -12,7 +12,7 @@ steps:
 | 
			
		||||
    repo: 
 | 
			
		||||
      from_secret: hub_repo
 | 
			
		||||
    build_args:
 | 
			
		||||
      - PHP_VERSION=8.0-fpm-alpine3.13
 | 
			
		||||
      - PHP_VERSION=8-fpm-alpine3.13
 | 
			
		||||
    tags: 8.0-alpine
 | 
			
		||||
  when: 
 | 
			
		||||
    branch:
 | 
			
		||||
@@ -107,19 +107,19 @@ steps:
 | 
			
		||||
#       - master
 | 
			
		||||
#   depends_on: [ clone ]
 | 
			
		||||
 | 
			
		||||
- name: php7.2
 | 
			
		||||
  image: plugins/docker
 | 
			
		||||
  settings:
 | 
			
		||||
    username: 
 | 
			
		||||
      from_secret: hub_username
 | 
			
		||||
    password: 
 | 
			
		||||
      from_secret: hub_password
 | 
			
		||||
    repo: 
 | 
			
		||||
      from_secret: hub_repo
 | 
			
		||||
    build_args:
 | 
			
		||||
      - PHP_VERSION=7.2-fpm-alpine3.12
 | 
			
		||||
    tags: 7.2-alpine
 | 
			
		||||
  when: 
 | 
			
		||||
    branch:
 | 
			
		||||
      - master
 | 
			
		||||
  depends_on: [ clone ]
 | 
			
		||||
# - name: php7.2
 | 
			
		||||
#   image: plugins/docker
 | 
			
		||||
#   settings:
 | 
			
		||||
#     username: 
 | 
			
		||||
#       from_secret: hub_username
 | 
			
		||||
#     password: 
 | 
			
		||||
#       from_secret: hub_password
 | 
			
		||||
#     repo: 
 | 
			
		||||
#       from_secret: hub_repo
 | 
			
		||||
#     build_args:
 | 
			
		||||
#       - PHP_VERSION=7.2-fpm-alpine3.12
 | 
			
		||||
#     tags: 7.2-alpine
 | 
			
		||||
#   when: 
 | 
			
		||||
#     branch:
 | 
			
		||||
#       - master
 | 
			
		||||
#   depends_on: [ clone ]
 | 
			
		||||
 
 | 
			
		||||
@@ -27,7 +27,11 @@ h1 "Configure PHP modules"
 | 
			
		||||
case $PHP_VERSION in
 | 
			
		||||
    '80' )
 | 
			
		||||
		h2 "Configure GD"
 | 
			
		||||
		docker-php-ext-configure gd --with-freetype --with-jpeg	--with-webp
 | 
			
		||||
		docker-php-ext-configure gd \
 | 
			
		||||
	         --with-freetype-dir=/usr/lib/ \
 | 
			
		||||
	         --with-png-dir=/usr/lib/ \
 | 
			
		||||
	         --with-jpeg-dir=/usr/lib/ \
 | 
			
		||||
	         --with-gd
 | 
			
		||||
    ;;
 | 
			
		||||
    '74' )
 | 
			
		||||
		h2 "Configure GD"
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
if [ -f /var/www/override.ini ]; then
 | 
			
		||||
if [ -f /var/www/override.ini && -f  /usr/local/etc/php/conf.d/02-project-override.ini ]; then
 | 
			
		||||
	ln -s /var/www/override.ini /usr/local/etc/php/conf.d/02-project-override.ini
 | 
			
		||||
fi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user