Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Sending build context to Docker daemon 563.6MB
- Step 1/17 : FROM centos:centos7
- ---> 75835a67d134
- Step 2/17 : ENV WP_VERSION=4.9.8 PHP_VERSION=72 WP_ROOT_DIR=/usr/share/nginx/html AS3CFPRO_LICENCE=temp AS3CF_AWS_ACCESS_KEY_ID=temp AS3CF_AWS_SECRET_ACCESS_KEY=temp DB_NAME=temp DB_USER=temp DB_PASSWORD=temp DB_HOST=temp ENV_TAG=temp S3_OFFLOAD_KEY=temp S3_BUCKET_SECRET=temp S3_BUCKET_ACCESS=temp NEWRELIC_KEY=temp SITE_NAME=temp SITE_ENV=temp
- ---> Using cache
- ---> c9361163b6d3
- Step 3/17 : RUN yum -y update && yum -y install epel-release yum-utils && yum -y install http://rpms.remirepo.net/enterprise/remi-release-7.rpm && yum -y install http://yum.newrelic.com/pub/newrelic/el5/x86_64/newrelic-repo-5-3.noarch.rpm && yum-config-manager --enable remi-php${PHP_VERSION} && yum install -y newrelic-php5 supervisor nginx pwgen python-setuptools git unzip php${PHP_VERSION}-php-fpm php${PHP_VERSION}-php-cli php${PHP_VERSION}-php-mysql php${PHP_VERSION}-php-gd php${PHP_VERSION}-php-imap php${PHP_VERSION}-php-ldap php${PHP_VERSION}-php-odbc php${PHP_VERSION}-php-pear php${PHP_VERSION}-php-xml php${PHP_VERSION}-php-xmlrpc php${PHP_VERSION}-php-magickwand php${PHP_VERSION}-php-mbstring php${PHP_VERSION}-php-magpierss php${PHP_VERSION}-php-shout php${PHP_VERSION}-php-mcrypt php${PHP_VERSION}-php-snmp php${PHP_VERSION}-php-apc php${PHP_VERSION}-php-soap php${PHP_VERSION}-php-tidy php${PHP_VERSION}-php-pecl-apcu php${PHP_VERSION}-php-mcrypt php${PHP_VERSION}-php-mssql php${PHP_VERSION}-php-pecl-redis && easy_install supervisor-stdout && ln -sfF /opt/remi/php${PHP_VERSION}/enable /etc/profile.d/php70-paths.sh && ln -sfF /opt/remi/php${PHP_VERSION}/root/usr/bin/php${PHP_VERSION} /usr/local/bin/php && ln -sfF /etc/opt/remi/php${PHP_VERSION}/php.ini /etc/php.ini && ln -s /etc/opt/remi/php${PHP_VERSION}/php.d /etc/php.d && curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && chmod +x wp-cli.phar && mv wp-cli.phar /usr/local/bin/wp && rm -rf /usr/share/nginx/html/* /var/yum/cache/*
- ---> Using cache
- ---> e67358c1adf4
- Step 4/17 : WORKDIR ${WP_ROOT_DIR}
- ---> Using cache
- ---> 13a0549766d2
- Step 5/17 : ADD https://wordpress.org/wordpress-${WP_VERSION}.zip .
- Downloading [==================================================>] 9.505MB/9.505MB
- ---> Using cache
- ---> 24addea583bc
- Step 6/17 : ADD plugins/s3-extension.zip /tmp
- ---> Using cache
- ---> b0ae2bd580af
- Step 7/17 : ADD plugins/wp-offload-s3-1.7.2.zip /tmp/
- ---> Using cache
- ---> b8e1f549e0de
- Step 8/17 : ADD plugins/wp-amazon-s3-and-cloudfront-tweaks-master.zip /tmp/
- ---> Using cache
- ---> b92b52ebaead
- Step 9/17 : COPY configs/setup-wp.sh /usr/bin/setup-wp.sh
- ---> Using cache
- ---> e7d046445e82
- Step 10/17 : COPY configs/nginx.conf /etc/nginx/nginx.conf
- ---> Using cache
- ---> 21d480e8d49e
- Step 11/17 : COPY configs/wordpress-fpm.conf /etc/opt/remi/php${PHP_VERSION}/php-fpm.d/www.conf
- ---> Using cache
- ---> f1ad21ce12b5
- Step 12/17 : COPY configs/supervisord.conf /etc/supervisord.conf
- ---> Using cache
- ---> 78c279c7a925
- Step 13/17 : COPY configs/wp-config.php ${WP_ROOT_DIR}
- ---> Using cache
- ---> 39d3c0786a5a
- Step 14/17 : RUN unzip wordpress-${WP_VERSION}.zip && mv wordpress/* ${WP_ROOT_DIR}/ && chmod +x /usr/bin/setup-wp.sh && touch /var/log/wp.log && chown nginx /var/log/wp.log && sh /usr/bin/setup-wp.sh && chown -R nginx:nginx /usr/share/nginx/html /var/log/nginx/ && cp -vfp /usr/lib/newrelic-php5/agent/x64/newrelic-20170718.so /opt/remi/php${PHP_VERSION}/root/usr/lib64/php/modules/newrelic.so && rm -rf /var/yum/cache/* *.zip wordpress && mkdir -p /var/log/php-fpm && touch /var/log/php-fpm/error.log && chown -R nginx:nginx /var/log/php-fpm
- ---> Using cache
- ---> 5fde40c24e87
- Step 15/17 : RUN export NR_INSTALL_USE_CP_NOT_LN=1 && NR_INSTALL_SILENT=1 && /usr/bin/newrelic-install install
- ---> Running in af81cb98afd1
- We searched and searched and couldn't find any complete enough PHP
- installs. You may well have PHP installed on your system but are lacking
- either the command line version or the php-config program that should
- accompany each PHP install. Sometimes, these require that you install
- the "dev" package for PHP or the "cli" version. We need one or the
- other.
- Please visit http://newrelic.com/docs/php and review the
- installation documentation for ways in which you can customize this
- script to look for PHP in non-standard locations or to do a manual
- install.
- Removing intermediate container af81cb98afd1
- ---> 9d8f66f30b03
- Step 16/17 : EXPOSE 80
- ---> Running in ee6eb8305f58
- Removing intermediate container ee6eb8305f58
- ---> f58696cf0379
- Step 17/17 : CMD ["/usr/bin/supervisord"]
- ---> Running in 39b665bfab2e
- Removing intermediate container 39b665bfab2e
- ---> cab60780f46e
- [Warning] One or more build-args [SITE_NAME] were not consumed
- Successfully built cab60780f46e
- Successfully tagged bmtp-wordpress_new:latest
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement