File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 - DOCKERFILE="7.0"
1818 - DOCKERFILE="7.0/apache"
1919 - DOCKERFILE="7.0/fpm"
20+ - DOCKERFILE="7.1"
21+ - DOCKERFILE="7.1/apache"
22+ - DOCKERFILE="7.1/fpm"
2023
2124before_script :
2225 - docker version
Original file line number Diff line number Diff line change 1+ FROM php:7.1-cli
2+ MAINTAINER drupal-docker
3+
4+ VOLUME /var/www/html
5+ WORKDIR /var/www/html
6+
7+ RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libpq-dev sudo git \
8+ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
9+ && docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip \
10+ && docker-php-ext-install opcache \
11+ && pecl install redis-3.0.0 \
12+ && docker-php-ext-enable redis \
13+ && curl -sS https://getcomposer.org/installer | php \
14+ && mv composer.phar /usr/local/bin/composer \
15+ && echo "export PATH=~/.composer/vendor/bin:\$ PATH" >> ~/.bash_profile \
16+ && rm -rf /var/lib/apt/lists/*
17+
18+ COPY drupal-*.ini /usr/local/etc/php/conf.d/
Original file line number Diff line number Diff line change 1+ FROM php:7.1-apache
2+ MAINTAINER drupal-docker
3+
4+ VOLUME /var/www/html
5+
6+ RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libpq-dev \
7+ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
8+ && docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip \
9+ && docker-php-ext-install opcache \
10+ && pecl install redis-3.0.0 \
11+ && docker-php-ext-enable redis \
12+ && a2enmod rewrite \
13+ && rm -rf /var/lib/apt/lists/*
14+
15+ COPY drupal-*.ini /usr/local/etc/php/conf.d/
Original file line number Diff line number Diff line change 1+ session.cache_limiter = nocache
2+ session.auto_start = 0
3+ expose_php = Off
4+ allow_url_fopen = Off
5+ register_globals = Off
6+ display_errors = Off
7+ memory_limit = 512M
8+ date.timezone = " UTC"
Original file line number Diff line number Diff line change 1+ opcache.memory_consumption =128
2+ opcache.interned_strings_buffer =8
3+ opcache.max_accelerated_files =4000
4+ opcache.revalidate_freq =60
5+ opcache.fast_shutdown =1
6+ opcache.enable_cli =1
Original file line number Diff line number Diff line change 1+ session.cache_limiter = nocache
2+ session.auto_start = 0
3+ expose_php = Off
4+ allow_url_fopen = On
5+ register_globals = Off
6+ display_errors = On
7+ memory_limit = -1
8+ date.timezone = " UTC"
Original file line number Diff line number Diff line change 1+ opcache.memory_consumption =128
2+ opcache.interned_strings_buffer =8
3+ opcache.max_accelerated_files =4000
4+ opcache.revalidate_freq =60
5+ opcache.fast_shutdown =1
6+ opcache.enable_cli =1
Original file line number Diff line number Diff line change 1+ FROM php:7.1-fpm
2+ MAINTAINER drupal-docker
3+
4+ VOLUME /var/www/html
5+
6+ RUN apt-get update && apt-get install -y libpng12-dev libjpeg-dev libpq-dev \
7+ && docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
8+ && docker-php-ext-install gd mbstring pdo pdo_mysql pdo_pgsql zip \
9+ && docker-php-ext-install opcache \
10+ && pecl install redis-3.0.0 \
11+ && docker-php-ext-enable redis \
12+ && rm -rf /var/lib/apt/lists/*
13+
14+ COPY drupal-*.ini /usr/local/etc/php/conf.d/
Original file line number Diff line number Diff line change 1+ session.cache_limiter = nocache
2+ session.auto_start = 0
3+ expose_php = Off
4+ allow_url_fopen = Off
5+ register_globals = Off
6+ display_errors = Off
7+ memory_limit = 512M
8+ date.timezone = " UTC"
Original file line number Diff line number Diff line change 1+ opcache.memory_consumption =128
2+ opcache.interned_strings_buffer =8
3+ opcache.max_accelerated_files =4000
4+ opcache.revalidate_freq =60
5+ opcache.fast_shutdown =1
6+ opcache.enable_cli =1
You can’t perform that action at this time.
0 commit comments