#335 fixed issue regarding composer running twice

This commit is contained in:
Dominik Liebler
2018-10-22 21:37:43 +02:00
parent c29d7b57fc
commit 9910fdf111
5 changed files with 27 additions and 48 deletions

View File

@@ -1,7 +1,8 @@
FROM php:7.2.0-cli
WORKDIR /opt/php
WORKDIR /app
RUN apt-get update \
&& apt-get install -y zlib1g-dev wget git-core \
&& docker-php-ext-install zip
ADD . /opt/php
CMD [ "./docker/test_runner.sh" ]
&& apt-get install -y zlib1g-dev wget git-core python-pip \
&& docker-php-ext-install zip \
&& pip install Sphinx
ADD . /app
CMD [ "make", "cs", "test" ]