Skip to content

Commit e2a91bb

Browse files
author
Stanislav Shupilkin
committed
Add changes to Dcokerfile
1 parent 43c3800 commit e2a91bb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ install:
1313
- sudo pip install docker-compose
1414
- docker-compose version
1515
- cat Dockerfile
16-
- docker-compose build --build-arg PHP_VERSION="${TRAVIS_PHP_VERSION}"
16+
- docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION}
1717

1818
script:
1919
- docker-compose up --exit-code-from php

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ FROM php:${PHP_VERSION}-cli
55
RUN pecl install xdebug
66

77
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 && \
1011
docker-php-ext-install -j$(nproc) pdo pdo_mysql zip && docker-php-ext-enable xdebug
1112

1213
RUN curl -sS https://getcomposer.org/installer | php \

0 commit comments

Comments
 (0)