File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,5 +5,6 @@ services:
55
66script :
77 - docker build -t test/php:7.1 php/7.1/
8+ - docker build -t test/php:7.2 php/7.2/
89 - docker build -t test/nginx:1.13 nginx/1.13/
910 - docker build -t test/capistrano:3.9 capistrano/3.9/
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ docker-compose exec php $yourCommandHere
3131These docker images are configured in ` docker-compose.yml ` file.
3232You can comment or uncomment some services according to your project.
3333
34- * [ ` jguyomard/laravel-php:7.1 ` ] ( https://hub.docker.com/r/jguyomard/laravel-php/ ) (this docker image extends ` php:7.1 -fpm-alpine ` to add some PHP extensions) ;
34+ * [ ` jguyomard/laravel-php:7.2 ` ] ( https://hub.docker.com/r/jguyomard/laravel-php/ ) (this docker image extends ` php:7.2 -fpm-alpine ` to add some PHP extensions) ;
3535* [ ` jguyomard/laravel-nginx:1.13 ` ] ( https://hub.docker.com/r/jguyomard/laravel-nginx/ ) (this docker image extends ` nginx:1.13-alpine ` to add Laravel vhost) ;
3636* ` mysql:5.7 ` ;
3737* ` postgres:9.6-alpine ` ;
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '2'
22services :
33
44 php :
5- image : jguyomard/laravel-php:7.1
5+ image : jguyomard/laravel-php:7.2
66 volumes :
77 - ./:/var/www/
88 - $HOME/.composer/:$HOME/.composer/
Original file line number Diff line number Diff line change 1+ FROM php:7.2-fpm-alpine
2+
3+ MAINTAINER JG <julien@mangue.eu>
4+
5+ RUN apk add --no-cache --virtual .build-deps \
6+ $PHPIZE_DEPS \
7+ curl-dev \
8+ imagemagick-dev \
9+ libtool \
10+ libxml2-dev \
11+ postgresql-dev \
12+ sqlite-dev \
13+ && apk add --no-cache \
14+ curl \
15+ git \
16+ imagemagick \
17+ mysql-client \
18+ postgresql-libs \
19+ && pecl install imagick \
20+ && docker-php-ext-enable imagick \
21+ && docker-php-ext-install \
22+ curl \
23+ iconv \
24+ mbstring \
25+ pdo \
26+ pdo_mysql \
27+ pdo_pgsql \
28+ pdo_sqlite \
29+ pcntl \
30+ tokenizer \
31+ xml \
32+ zip \
33+ && curl -s https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin/ --filename=composer \
34+ && apk del -f .build-deps
35+
36+ WORKDIR /var/www
You can’t perform that action at this time.
0 commit comments