Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db uses an image, skipping
- Building php_mysql
- Step 1/10 : FROM php:7.1.8-apache
- ---> a47f065418d5
- Step 2/10 : RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" && php composer-setup.php && php -r "unlink('composer-setup.php');" && install --mode=0755 composer.phar /usr/local/bin/composer && rm composer.phar
- ---> Using cache
- ---> f6aba78a5a26
- Step 3/10 : RUN curl https://phar.phpunit.de/phpunit-6.3.0.phar -o phpunit && chmod 755 phpunit && cp phpunit /usr/local/bin && rm phpunit
- ---> Using cache
- ---> 0f22e2e31438
- Step 4/10 : RUN apt-get -qq update && apt-get install -qy wget
- ---> Using cache
- ---> 8a3a82cfd00e
- Step 5/10 : RUN wget http://xdebug.org/files/xdebug-2.5.4.tgz && tar -xvzf xdebug-2.5.4.tgz && cd xdebug-2.5.4 && phpize && ./configure && make && cp modules/xdebug.so /usr/local/lib/php/extensions/no-debug-non-zts-20160303 && echo "zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so" > /usr/local/etc/php/php.ini && rm -rf xdebu*
- ---> Using cache
- ---> 9216e5751a39
- Step 6/10 : RUN apt-get install -qy git zip unzip php-pclzip
- ---> Using cache
- ---> f55a03012ab8
- Step 7/10 : RUN apt-get install -qy libfreetype6-dev libjpeg62-turbo-dev libmcrypt-dev libpng12-dev && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && docker-php-ext-install -j$(nproc) gd
- ---> Using cache
- ---> f4aff26e3605
- Step 8/10 : RUN a2enmod rewrite && service apache2 restart
- ---> Using cache
- ---> 463f3aa59abd
- Step 9/10 : EXPOSE 80
- ---> Using cache
- ---> f148f0485296
- Step 10/10 : VOLUME ["/var/www/html"]
- ---> Using cache
- ---> c10679508f7e
- Successfully built c10679508f7e
- Successfully tagged docker/php_mysql/dockerfile:latest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement