FROM php:7.0-fpm-alpine
MAINTAINER drupal-docker
RUN apk add --no-cache --virtual .dd-build-deps libpng-dev libjpeg-turbo-dev postgresql-dev libxml2-dev $PHPIZE_DEPS \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-install gd mbstring pdo_mysql pdo_pgsql zip \
&& docker-php-ext-install opcache bcmath soap \
&& pecl install redis-3.1.1 \
&& docker-php-ext-enable redis \
&& apk add --no-cache libpng libjpeg libpq libxml2 \
&& apk del .dd-build-deps
COPY drupal-*.ini /usr/local/etc/php/conf.d/
FROM php:7.0-fpm-alpine
MAINTAINER drupal-docker
RUN apk add --no-cache --virtual .dd-build-deps libpng-dev libjpeg-turbo-dev postgresql-dev libxml2-dev $PHPIZE_DEPS \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-install gd mbstring pdo_mysql pdo_pgsql zip \
&& docker-php-ext-install opcache bcmath soap \
&& pecl install redis-3.1.1 \
&& docker-php-ext-enable redis \
&& apk add --no-cache libpng libjpeg libpq libxml2 \
&& apk del .dd-build-deps
COPY drupal-*.ini /usr/local/etc/php/conf.d/
FROM drupaldocker/php:7.0-fpm-2.x
MAINTAINER drupal-docker
RUN apk add --no-cache --virtual .dd-build-deps $PHPIZE_DEPS \
&& pecl install xdebug-2.6.0beta1 \
&& docker-php-ext-enable xdebug \
&& apk del .dd-build-deps
COPY drupal-*.ini /usr/local/etc/php/conf.d/
FROM php:7.0-fpm-alpine
MAINTAINER drupal-docker
RUN apk add --no-cache --virtual .dd-build-deps libpng-dev libjpeg-turbo-dev postgresql-dev libxml2-dev $PHPIZE_DEPS \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-install gd mbstring pdo_mysql pdo_pgsql zip \
&& docker-php-ext-install opcache bcmath soap \
&& pecl install redis-3.1.1 \
&& docker-php-ext-enable redis \
&& apk add --no-cache libpng libjpeg libpq libxml2 \
&& apk del .dd-build-deps
COPY drupal-*.ini /usr/local/etc/php/conf.d/
FROM php:7.0-fpm-alpine
MAINTAINER drupal-docker
RUN apk add --no-cache --virtual .dd-build-deps libpng-dev libjpeg-turbo-dev postgresql-dev libxml2-dev $PHPIZE_DEPS \
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-install gd mbstring pdo_mysql pdo_pgsql zip \
&& docker-php-ext-install opcache bcmath soap \
&& pecl install redis-3.1.1 \
&& docker-php-ext-enable redis \
&& apk add --no-cache libpng libjpeg libpq libxml2 \
&& apk del .dd-build-deps
COPY drupal-*.ini /usr/local/etc/php/conf.d/
// Returns a Drupal\Core\Datetime\Date object.
$date = \Drupal::service('date');
FROM ubuntu:latest
RUN apt-get update && apt-get install -y supervisor
RUN mkdir -p /var/log/supervisor
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY my_first_process my_first_process
COPY my_second_process my_second_process
CMD ["/usr/bin/supervisord"]