Commit e2a91bb7 authored by Stanislav Shupilkin's avatar Stanislav Shupilkin

Add changes to Dcokerfile

parent 43c38004
......@@ -13,7 +13,7 @@ install:
- sudo pip install docker-compose
- docker-compose version
- cat Dockerfile
- docker-compose build --build-arg PHP_VERSION="${TRAVIS_PHP_VERSION}"
- docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION}
script:
- docker-compose up --exit-code-from php
......@@ -5,8 +5,9 @@ FROM php:${PHP_VERSION}-cli
RUN pecl install xdebug
RUN apt-get update && \
apt-get install -y autoconf pkg-config libssl-dev git && \
pecl install mongodb git zlib1g-dev && docker-php-ext-enable mongodb && \
apt-get install -y autoconf pkg-config libssl-dev git zlib1g-dev
RUN pecl install mongodb && docker-php-ext-enable mongodb && \
docker-php-ext-install -j$(nproc) pdo pdo_mysql zip && docker-php-ext-enable xdebug
RUN curl -sS https://getcomposer.org/installer | php \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment