dexter test
This commit is contained in:
		
							
								
								
									
										78
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										78
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -14,6 +14,7 @@ steps:
 | 
			
		||||
    platforms:
 | 
			
		||||
      - linux/amd64
 | 
			
		||||
      - linux/arm64
 | 
			
		||||
      - linux/arm/v7
 | 
			
		||||
    build_args:
 | 
			
		||||
      - PHP_VERSION=8.1-fpm-alpine3.16
 | 
			
		||||
    tags: 8.1-alpine
 | 
			
		||||
@@ -34,6 +35,7 @@ steps:
 | 
			
		||||
    platforms:
 | 
			
		||||
      - linux/amd64
 | 
			
		||||
      - linux/arm64
 | 
			
		||||
      - linux/arm/v7
 | 
			
		||||
    build_args:
 | 
			
		||||
      - PHP_VERSION=8.0-fpm-alpine3.16
 | 
			
		||||
    tags: 8.0-alpine
 | 
			
		||||
@@ -54,6 +56,7 @@ steps:
 | 
			
		||||
    platforms:
 | 
			
		||||
      - linux/amd64
 | 
			
		||||
      - linux/arm64
 | 
			
		||||
      - linux/arm/v7
 | 
			
		||||
    build_args:
 | 
			
		||||
      - PHP_VERSION=7.4-fpm-alpine3.16
 | 
			
		||||
    tags: 7.4-alpine
 | 
			
		||||
@@ -62,36 +65,47 @@ steps:
 | 
			
		||||
      - master
 | 
			
		||||
  depends_on: [ clone ]
 | 
			
		||||
 | 
			
		||||
# - name: php7.3
 | 
			
		||||
#   image: thegeeklab/drone-docker-buildx
 | 
			
		||||
#   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: thegeeklab/drone-docker-buildx
 | 
			
		||||
  settings:
 | 
			
		||||
    username: 
 | 
			
		||||
      from_secret: hub_username
 | 
			
		||||
    password: 
 | 
			
		||||
      from_secret: hub_password
 | 
			
		||||
    repo: 
 | 
			
		||||
      from_secret: hub_repo
 | 
			
		||||
    platforms:
 | 
			
		||||
      - linux/amd64
 | 
			
		||||
      - linux/arm64
 | 
			
		||||
      - linux/arm/v7
 | 
			
		||||
    build_args:
 | 
			
		||||
      - PHP_VERSION=7.3-fpm-alpine3.13
 | 
			
		||||
    tags: 7.3-alpine
 | 
			
		||||
  when: 
 | 
			
		||||
    branch:
 | 
			
		||||
      - master
 | 
			
		||||
  depends_on: [ clone ]
 | 
			
		||||
 | 
			
		||||
# - name: php7.2
 | 
			
		||||
#   image: thegeeklab/drone-docker-buildx
 | 
			
		||||
#   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: thegeeklab/drone-docker-buildx
 | 
			
		||||
  settings:
 | 
			
		||||
    username: 
 | 
			
		||||
      from_secret: hub_username
 | 
			
		||||
    password: 
 | 
			
		||||
      from_secret: hub_password
 | 
			
		||||
    repo: 
 | 
			
		||||
      from_secret: hub_repo
 | 
			
		||||
    platforms:
 | 
			
		||||
      - linux/amd64
 | 
			
		||||
      - linux/arm64
 | 
			
		||||
      - linux/arm/v7
 | 
			
		||||
    build_args:
 | 
			
		||||
      - PHP_VERSION=7.2-fpm-alpine3.12
 | 
			
		||||
    tags: 7.2-alpine
 | 
			
		||||
  when: 
 | 
			
		||||
    branch:
 | 
			
		||||
      - master
 | 
			
		||||
  depends_on: [ clone ]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
node: dexter
 | 
			
		||||
@@ -11,6 +11,7 @@ FROM php:${PHP_VERSION} as builder
 | 
			
		||||
RUN apk add --no-cache --virtual build-essentials build-base \
 | 
			
		||||
    icu-dev icu-libs zlib-dev g++ make automake autoconf libzip-dev \
 | 
			
		||||
    libpng-dev libwebp-dev libjpeg-turbo-dev freetype-dev \
 | 
			
		||||
    tar \
 | 
			
		||||
    wget \
 | 
			
		||||
	curl \
 | 
			
		||||
	bash \
 | 
			
		||||
 
 | 
			
		||||
@@ -82,6 +82,10 @@ case $PHP_VERSION in
 | 
			
		||||
    	h1 "Install iconv extension"
 | 
			
		||||
    	apk add --no-cache --virtual php7-iconv
 | 
			
		||||
    ;;
 | 
			
		||||
    '73' )
 | 
			
		||||
		h2 "[php74] Configure and install GD, JSON, MEMCACHE, ICONV"
 | 
			
		||||
		apk add --no-cache --virtual php7-gd php7-json php7-pecl-memcache php7-iconv
 | 
			
		||||
    ;;
 | 
			
		||||
    * )
 | 
			
		||||
		h2 "Configure and install GD"
 | 
			
		||||
		docker-php-ext-configure gd \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user