Compare commits
2 Commits
master
...
5.6-alpine
Author | SHA1 | Date | |
---|---|---|---|
|
043f82e55c | ||
91a930d6ce |
@ -11,8 +11,11 @@ steps:
|
|||||||
settings:
|
settings:
|
||||||
purge: true
|
purge: true
|
||||||
autotag: true
|
autotag: true
|
||||||
repo: docker.mtfos.xyz/php-fpm
|
username: robot$mtfos-ci
|
||||||
registry: docker.mtfos.xyz
|
password:
|
||||||
|
from_secret: docker_token
|
||||||
|
repo: reg.mtfos.xyz/service/php-fpm
|
||||||
|
registry: reg.mtfos.xyz
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
- "${DRONE_COMMIT}"
|
- "${DRONE_COMMIT}"
|
||||||
|
13
Dockerfile
13
Dockerfile
@ -1,8 +1,15 @@
|
|||||||
FROM php:7-fpm-alpine
|
FROM php:5.6-fpm-alpine
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www
|
||||||
|
<<<<<<< Updated upstream
|
||||||
RUN apk add --no-cache libcurl curl-dev libjpeg jpeg-dev libpng libpng-dev icu-dev libzip libzip-dev shadow freetype freetype-dev libpq postgresql-dev \
|
RUN apk add --no-cache libcurl curl-dev libjpeg jpeg-dev libpng libpng-dev icu-dev libzip libzip-dev shadow freetype freetype-dev libpq postgresql-dev \
|
||||||
&& usermod -u 1000 www-data && groupmod -g 1000 www-data \
|
&& usermod -u 1000 www-data && groupmod -g 1000 www-data \
|
||||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
|
&& docker-php-ext-configure gd --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-gnu-ld \
|
||||||
&& docker-php-ext-install ctype curl gd iconv intl mysqli pdo pdo_mysql zip exif pdo_pgsql pgsql
|
&& docker-php-ext-install ctype curl gd iconv intl mysql mysqli pdo pdo_mysql zip exif pdo_pgsql pgsql \
|
||||||
|
&& echo "no --disable-memcached-sasl" | pecl install memcached-2.2.0 \
|
||||||
|
&& pecl install memcache-2.2.4 \
|
||||||
|
&& docker-php-ext-enable memcached \
|
||||||
|
&& echo extension=memcached.so > /usr/local/etc/php/conf.d/memcached.ini \
|
||||||
|
&& echo extension=memcache.so > /usr/local/etc/php/conf.d/memcache.ini
|
||||||
|
|
||||||
COPY ./php.ini /usr/local/etc/php/
|
COPY ./php.ini /usr/local/etc/php/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user