first commit
This commit is contained in:
		
						commit
						4be083f8a2
					
				
							
								
								
									
										22
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: docker
 | 
			
		||||
name: default
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
  - name: build docker image
 | 
			
		||||
    image: plugins/docker
 | 
			
		||||
    environment:
 | 
			
		||||
      DOCKER_BUILDKIT: "1"
 | 
			
		||||
    settings:
 | 
			
		||||
      purge: true
 | 
			
		||||
      autotag: true
 | 
			
		||||
      repo: docker.mtfos.xyz/php-fpm
 | 
			
		||||
      registry: docker.mtfos.xyz
 | 
			
		||||
      tags:
 | 
			
		||||
        - latest
 | 
			
		||||
        - "${DRONE_COMMIT}"
 | 
			
		||||
    when:
 | 
			
		||||
      ref:
 | 
			
		||||
        - refs/heads/master
 | 
			
		||||
        - refs/tags/**
 | 
			
		||||
							
								
								
									
										7
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
FROM php:7-fpm-alpine
 | 
			
		||||
WORKDIR /var/www
 | 
			
		||||
RUN apk add --no-cache libcurl curl-dev libpng libpng-dev icu-dev libzip libzip-dev shadow \
 | 
			
		||||
  && usermod -u 1000 www-data && groupmod -g 1000 www-data \
 | 
			
		||||
  && docker-php-ext-install ctype curl gd iconv intl mysqli pdo pdo_mysql zip exif
 | 
			
		||||
COPY ./php.ini /usr/local/etc/php/
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user