This commit is contained in:
		
							
								
								
									
										64
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										64
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -37,22 +37,22 @@ steps:
 | 
			
		||||
#       - master
 | 
			
		||||
#   depends_on: [ clone ]
 | 
			
		||||
 | 
			
		||||
- name: php7.4  
 | 
			
		||||
  image: plugins/docker
 | 
			
		||||
  settings:
 | 
			
		||||
    username: 
 | 
			
		||||
      from_secret: hub_username
 | 
			
		||||
    password: 
 | 
			
		||||
      from_secret: hub_password
 | 
			
		||||
    repo: 
 | 
			
		||||
      from_secret: hub_repo
 | 
			
		||||
    build_args:
 | 
			
		||||
      - PHP_VERSION=7.4-fpm-alpine3.13
 | 
			
		||||
    tags: 7.4-alpine
 | 
			
		||||
  when: 
 | 
			
		||||
    branch:
 | 
			
		||||
      - master
 | 
			
		||||
  depends_on: [ clone ]
 | 
			
		||||
# - name: php7.4  
 | 
			
		||||
#   image: plugins/docker
 | 
			
		||||
#   settings:
 | 
			
		||||
#     username: 
 | 
			
		||||
#       from_secret: hub_username
 | 
			
		||||
#     password: 
 | 
			
		||||
#       from_secret: hub_password
 | 
			
		||||
#     repo: 
 | 
			
		||||
#       from_secret: hub_repo
 | 
			
		||||
#     build_args:
 | 
			
		||||
#       - PHP_VERSION=7.4-fpm-alpine3.13
 | 
			
		||||
#     tags: 7.4-alpine
 | 
			
		||||
#   when: 
 | 
			
		||||
#     branch:
 | 
			
		||||
#       - master
 | 
			
		||||
#   depends_on: [ clone ]
 | 
			
		||||
 | 
			
		||||
# - name: php7.4-dev
 | 
			
		||||
#   image: plugins/docker
 | 
			
		||||
@@ -72,22 +72,22 @@ steps:
 | 
			
		||||
#       - master
 | 
			
		||||
#   depends_on: [ clone ]
 | 
			
		||||
 | 
			
		||||
- name: php7.3
 | 
			
		||||
  image: plugins/docker
 | 
			
		||||
  settings:
 | 
			
		||||
    username: 
 | 
			
		||||
      from_secret: hub_username
 | 
			
		||||
    password: 
 | 
			
		||||
      from_secret: hub_password
 | 
			
		||||
    repo: 
 | 
			
		||||
      from_secret: hub_repo
 | 
			
		||||
    build_args:
 | 
			
		||||
      - PHP_VERSION=7.3-fpm-alpine3.13
 | 
			
		||||
    tags: 7.3-alpine
 | 
			
		||||
  when: 
 | 
			
		||||
    branch:
 | 
			
		||||
      - master
 | 
			
		||||
  depends_on: [ clone ]
 | 
			
		||||
# - name: php7.3
 | 
			
		||||
#   image: plugins/docker
 | 
			
		||||
#   settings:
 | 
			
		||||
#     username: 
 | 
			
		||||
#       from_secret: hub_username
 | 
			
		||||
#     password: 
 | 
			
		||||
#       from_secret: hub_password
 | 
			
		||||
#     repo: 
 | 
			
		||||
#       from_secret: hub_repo
 | 
			
		||||
#     build_args:
 | 
			
		||||
#       - PHP_VERSION=7.3-fpm-alpine3.13
 | 
			
		||||
#     tags: 7.3-alpine
 | 
			
		||||
#   when: 
 | 
			
		||||
#     branch:
 | 
			
		||||
#       - master
 | 
			
		||||
#   depends_on: [ clone ]
 | 
			
		||||
 | 
			
		||||
# - name: php7.3-dev
 | 
			
		||||
#   image: plugins/docker
 | 
			
		||||
 
 | 
			
		||||
@@ -26,12 +26,14 @@ h2() {
 | 
			
		||||
h1 "Configure PHP modules"
 | 
			
		||||
case $PHP_VERSION in
 | 
			
		||||
    '80' )
 | 
			
		||||
		h2 "Configure GD"
 | 
			
		||||
		h2 "Configure GD - 8.0"
 | 
			
		||||
		docker-php-ext-configure gd \
 | 
			
		||||
	         --with-freetype-dir=/usr/lib/ \
 | 
			
		||||
	         --with-png-dir=/usr/lib/ \
 | 
			
		||||
	         --with-jpeg-dir=/usr/lib/ \
 | 
			
		||||
	         --with-gd
 | 
			
		||||
	         --with-gd \
 | 
			
		||||
	         --with-jpeg \
 | 
			
		||||
	         --with-webp
 | 
			
		||||
    ;;
 | 
			
		||||
    '74' )
 | 
			
		||||
		h2 "Configure GD"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user