| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 | FROM php:7.2-cliMAINTAINER Tobias Munk tobias@diemeisterei.de# Install required system packagesRUN apt-get update && \    apt-get -y install \            git \            zlib1g-dev \            libssl-dev \        --no-install-recommends && \        apt-get clean && \        rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*# Install php extensionsRUN docker-php-ext-install \    bcmath \    zip# Install pecl extensionsRUN pecl install \        mongodb \        xdebug-2.6.0beta1 && \    docker-php-ext-enable \        mongodb.so \        xdebug# Configure phpRUN echo "date.timezone = UTC" >> /usr/local/etc/php/php.ini# Install composerENV COMPOSER_ALLOW_SUPERUSER=1RUN curl -sS https://getcomposer.org/installer | php -- \        --filename=composer \        --install-dir=/usr/local/binRUN composer global require --optimize-autoloader \        "hirak/prestissimo"# Prepare applicationWORKDIR /repo# Install vendorCOPY ./composer.json /repo/composer.jsonRUN composer install --prefer-dist --optimize-autoloader# Add source-codeCOPY . /repoENV PATH /repo:${PATH}ENTRYPOINT ["codecept"]# Prepare host-volume working directoryRUN mkdir /projectWORKDIR /project
 |