first commit

This commit is contained in:
Jay 2020-07-03 08:39:58 +00:00
commit 4be083f8a2
3 changed files with 1976 additions and 0 deletions

22
.drone.yml Normal file
View 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
View 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/

1947
php.ini Normal file

File diff suppressed because it is too large Load Diff