From 593e7f53dfdaf63c6ec813fae838b8a52ab437e3 Mon Sep 17 00:00:00 2001 From: Tom H Anderson Date: Sun, 22 Apr 2018 16:43:44 -0600 Subject: [PATCH] Removed memory from phpunit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 059e8a88..e52ba32d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,10 @@ RUN apk add --no-cache \ RUN if [${PHP_VERSION} == '5.6'] ; then pecl install mongo && docker-php-ext-install mongo && docker-php-ext-enable mongo && echo "extension=mongodb.so" >> /usr/local/etc/php/php.ini ; else pecl install mongodb && docker-php-ext-enable mongodb ; fi RUN set -o pipefail && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer -RUN echo -e '#!/bin/sh' > /usr/local/bin/entrypoint.sh \ +RUN echo -e '#!/bin/sh ' > /usr/local/bin/entrypoint.sh \ && echo -e 'while ! nc -z ${MONGO_HOST:-mongo} ${MONGO_PORT:-27017}; do sleep 1; done' >> /usr/local/bin/entrypoint.sh \ && echo -e 'exec "$@"' >> /usr/local/bin/entrypoint.sh \ && chmod +x /usr/local/bin/entrypoint.sh WORKDIR /docker ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] -CMD ["./vendor/bin/phpunit -d memory_limit=2G"] +CMD ["./vendor/bin/phpunit"]