File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ install:
13
13
- sudo pip install docker-compose
14
14
- docker-compose version
15
15
- cat Dockerfile
16
- - docker-compose build --build-arg PHP_VERSION=" ${TRAVIS_PHP_VERSION}"
16
+ - docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION}
17
17
18
18
script :
19
19
- docker-compose up --exit-code-from php
Original file line number Diff line number Diff line change @@ -5,8 +5,9 @@ FROM php:${PHP_VERSION}-cli
5
5
RUN pecl install xdebug
6
6
7
7
RUN apt-get update && \
8
- apt-get install -y autoconf pkg-config libssl-dev git && \
9
- pecl install mongodb git zlib1g-dev && docker-php-ext-enable mongodb && \
8
+ apt-get install -y autoconf pkg-config libssl-dev git zlib1g-dev
9
+
10
+ RUN pecl install mongodb && docker-php-ext-enable mongodb && \
10
11
docker-php-ext-install -j$(nproc) pdo pdo_mysql zip && docker-php-ext-enable xdebug
11
12
12
13
RUN curl -sS https://getcomposer.org/installer | php \
You can’t perform that action at this time.
0 commit comments