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