Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from eko/symfony4
Updated to php7 and added support to Symfony4
- Loading branch information
Showing
8 changed files
with
50 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
sudo: required | ||
|
||
env: | ||
DOCKER_COMPOSE_VERSION: 1.7.1 | ||
DOCKER_COMPOSE_VERSION: 1.16.1 | ||
|
||
services: | ||
- docker | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.4 | ||
FROM alpine:3.6 | ||
|
||
MAINTAINER Vincent Composieux <vincent.composieux@gmail.com> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,42 @@ | ||
FROM alpine:3.4 | ||
FROM alpine:3.6 | ||
|
||
MAINTAINER Vincent Composieux <vincent.composieux@gmail.com> | ||
LABEL maintainer="Vincent Composieux <vincent.composieux@gmail.com>" | ||
|
||
RUN apk add --update \ | ||
php5-fpm \ | ||
php5-apcu \ | ||
php5-ctype \ | ||
php5-curl \ | ||
php5-dom \ | ||
php5-gd \ | ||
php5-iconv \ | ||
php5-imagick \ | ||
php5-json \ | ||
php5-intl \ | ||
php5-mcrypt \ | ||
php5-mysql \ | ||
php5-opcache \ | ||
php5-openssl \ | ||
php5-pdo \ | ||
php5-pdo_mysql \ | ||
php5-mysqli \ | ||
php5-xml \ | ||
php5-zlib \ | ||
php5-phar \ | ||
php7-fpm \ | ||
php7-apcu \ | ||
php7-ctype \ | ||
php7-curl \ | ||
php7-dom \ | ||
php7-gd \ | ||
php7-iconv \ | ||
php7-imagick \ | ||
php7-json \ | ||
php7-intl \ | ||
php7-mcrypt \ | ||
php7-mbstring \ | ||
php7-opcache \ | ||
php7-openssl \ | ||
php7-pdo \ | ||
php7-pdo_mysql \ | ||
php7-mysqli \ | ||
php7-xml \ | ||
php7-zlib \ | ||
php7-phar \ | ||
php7-tokenizer \ | ||
make \ | ||
curl | ||
|
||
RUN rm -rf /var/cache/apk/* && rm -rf /tmp/* | ||
|
||
RUN curl --insecure https://getcomposer.org/composer.phar -o /usr/bin/composer && chmod +x /usr/bin/composer | ||
|
||
ADD symfony.ini /etc/php5/fpm/conf.d/ | ||
ADD symfony.ini /etc/php5/cli/conf.d/ | ||
ADD symfony.ini /etc/php7/php-fpm.d/ | ||
ADD symfony.ini /etc/php7/cli/conf.d/ | ||
|
||
ADD symfony.pool.conf /etc/php5/fpm.d/ | ||
ADD symfony.pool.conf /etc/php7/php-fpm.d/ | ||
|
||
CMD ["php-fpm", "-F"] | ||
CMD ["php-fpm7", "-F"] | ||
|
||
WORKDIR /var/www/symfony | ||
EXPOSE 9000 |