Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
renan@taranto ~/projects/github/api-platform-master $ docker-compose up -d
Creating network "apiplatformmaster_default" with the default driver
Creating volume "apiplatformmaster_db-data" with default driver
Creating volume "apiplatformmaster_app-web" with default driver
Building nginx
Step 1/2 : FROM nginx:1.11-alpine
---> f35b49deb234
Step 2/2 : COPY conf.d /etc/nginx/conf.d/
---> aab020f9a54b
Removing intermediate container aa4865de3eae
Successfully built aab020f9a54b
WARNING: Image for service nginx was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Building db
Step 1/4 : FROM mysql:5.7
---> 7666f75adb6b
Step 2/4 : COPY docker-healthcheck.sh /usr/local/bin/docker-healthcheck
---> d5cb59272348
Removing intermediate container 26142202537e
Step 3/4 : RUN chmod +x /usr/local/bin/docker-healthcheck
---> Running in 1f98201947f8
---> 38d3b07b72eb
Removing intermediate container 1f98201947f8
Step 4/4 : HEALTHCHECK CMD docker-healthcheck
---> Running in 1c24623343c2
---> 0c8327b29ee6
Removing intermediate container 1c24623343c2
Successfully built 0c8327b29ee6
WARNING: Image for service db was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Building app
Step 1/23 : FROM php:7.1-fpm-alpine
---> 8a87fcbea0c9
Step 2/23 : RUN apk add --no-cache --virtual .persistent-deps git icu-libs zlib
---> Using cache
---> 0b1a7c7e3474
Step 3/23 : ENV APCU_VERSION 5.1.8
---> Using cache
---> b79109d122e6
Step 4/23 : RUN set -xe && apk add --no-cache --virtual .build-deps $PHPIZE_DEPS icu-dev zlib-dev && docker-php-ext-install intl pdo_mysql zip && pecl install apcu-${APCU_VERSION} && docker-php-ext-enable --ini-name 20-apcu.ini apcu && docker-php-ext-enable --ini-name 05-opcache.ini opcache && apk del .build-deps
---> Using cache
---> ffcfb820b63d
Step 5/23 : COPY docker/app/php.ini /usr/local/etc/php/php.ini
---> de3634ba3810
Removing intermediate container ca105247fe5c
Step 6/23 : COPY docker/app/install-composer.sh /usr/local/bin/docker-app-install-composer
---> 99fd74b65135
Removing intermediate container 5e7e3755d03c
Step 7/23 : RUN chmod +x /usr/local/bin/docker-app-install-composer
---> Running in 3c58181efa55
---> 0a765ae66fcc
Removing intermediate container 3c58181efa55
Step 8/23 : RUN set -xe && apk add --no-cache --virtual .fetch-deps openssl && docker-app-install-composer && mv composer.phar /usr/local/bin/composer && apk del .fetch-deps
---> Running in 599b1488d9dc
+ apk add --no-cache --virtual .fetch-deps openssl
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.4/community/x86_64/APKINDEX.tar.gz
(1/2) Installing openssl (1.0.2k-r0)
(2/2) Installing .fetch-deps (0)
Executing busybox-1.24.2-r12.trigger
Executing ca-certificates-20160104-r4.trigger
OK: 62 MiB in 33 packages
+ docker-app-install-composer
+ mv composer.phar /usr/local/bin/composer
+ apk del .fetch-deps
WARNING: Ignoring APKINDEX.167438ca.tar.gz: No such file or directory
WARNING: Ignoring APKINDEX.a2e6dac0.tar.gz: No such file or directory
(1/2) Purging .fetch-deps (0)
(2/2) Purging openssl (1.0.2k-r0)
Executing busybox-1.24.2-r12.trigger
Executing ca-certificates-20160104-r4.trigger
OK: 62 MiB in 31 packages
---> 20ef2f4bd066
Removing intermediate container 599b1488d9dc
Step 9/23 : ENV COMPOSER_ALLOW_SUPERUSER 1
---> Running in 301db55f4837
---> 6298929c550e
Removing intermediate container 301db55f4837
Step 10/23 : RUN composer global require "hirak/prestissimo:^0.3" --prefer-dist --no-progress --no-suggest --optimize-autoloader --classmap-authoritative && composer clear-cache
---> Running in e24f61a230a2
Changed current directory to /root/.composer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing hirak/prestissimo (0.3.7): Downloading (100%)
1/2: http://packagist.org/p/provider-latest$41a046254dd7f44fd277375770ff4f8bf8fb5cf344ea304fad6bd2627d8ee3c5.json
2/2: http://packagist.org/p/provider-2016$43b5233a0de6b659e9db3844132c709679bd07b17eb6eed62510beb190909c90.json
Finished: success: 2, skipped: 0, failure: 0, total: 2
Writing lock file
Generating optimized autoload files
Clearing cache (cache-dir): /root/.composer/cache
Clearing cache (cache-files-dir): /root/.composer/cache/files
Clearing cache (cache-repo-dir): /root/.composer/cache/repo
Cache directory does not exist (cache-vcs-dir):
All caches cleared.
---> 938e330cc2eb
Removing intermediate container e24f61a230a2
Step 11/23 : WORKDIR /srv/api-platform
---> c04788988250
Removing intermediate container c99a982308eb
Step 12/23 : COPY composer.json ./
---> 48b3487bd0c3
Removing intermediate container 0ed9ae9f8e41
Step 13/23 : COPY composer.lock ./
---> 003e27800cb5
Removing intermediate container 0872c7e542e8
Step 14/23 : RUN mkdir -p var/cache var/logs var/sessions && composer install --prefer-dist --no-dev --no-autoloader --no-scripts --no-progress --no-suggest && composer clear-cache && chown -R www-data var
---> Running in f3467a883baf
Loading composer repositories with package information
Installing dependencies from lock file
1/42: https://codeload.github.com/sensiolabs/security-checker/legacy.zip/9e69eddf3bc49d1ee5c7908564da3141796d4bbc
2/42: https://codeload.github.com/phpDocumentor/TypeResolver/legacy.zip/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb
3/42: https://codeload.github.com/sensiolabs/SensioDistributionBundle/legacy.zip/4b019d4c0bd64438c42e4b6b0726085b409be8d9
4/42: https://codeload.github.com/symfony/swiftmailer-bundle/legacy.zip/deabc81120c2086571f7c4484ab785c5e1b84f75
5/42: https://codeload.github.com/phpDocumentor/ReflectionCommon/legacy.zip/144c307535e82c8fdcaacbcfc1d6d8eeb896687c
6/42: https://codeload.github.com/symfony/monolog-bundle/legacy.zip/6f96c7dbb6b2ef70b307a1a6f897153cbca3da47
7/42: https://codeload.github.com/sensiolabs/SensioFrameworkExtraBundle/legacy.zip/6d6cbe971554f0a2cc84965850481eb04a2a0059
8/42: https://codeload.github.com/Incenteev/ParameterHandler/legacy.zip/d7ce7f06136109e81d1cb9d57066c4d4a99cf1cc
9/42: https://codeload.github.com/composer/ca-bundle/legacy.zip/b17e6153cb7f33c7e44eb59578dc12eee5dc8e12
10/42: https://codeload.github.com/phpDocumentor/ReflectionDocBlock/legacy.zip/8331b5efe816ae05461b7ca1e721c01b46bafb3e
11/42: https://codeload.github.com/webmozart/assert/legacy.zip/2db61e59ff05fe5126d152bd0655c9ea113e550f
12/42: https://codeload.github.com/doctrine/instantiator/legacy.zip/8e884e78f9f0eb1329e445619e04456e64d8051d
13/42: https://codeload.github.com/nelmio/NelmioCorsBundle/legacy.zip/ac6576a599d7db9c2c6022602c188a5594216056
14/42: https://codeload.github.com/doctrine/DoctrineCacheBundle/legacy.zip/18c600a9b82f6454d2e81ca4957cdd56a1cf3504
15/42: https://codeload.github.com/swiftmailer/swiftmailer/legacy.zip/9a06dc570a0367850280eefd3f1dc2da45aef517
16/42: https://codeload.github.com/doctrine/common/legacy.zip/930297026c8009a567ac051fd545bf6124150347
17/42: https://codeload.github.com/doctrine/annotations/legacy.zip/54cacc9b81758b14e3ce750f205a393d52339e97
18/42: https://codeload.github.com/doctrine/cache/legacy.zip/b6f544a20f4807e81f7044d31e679ccbb1866dc3
19/42: https://codeload.github.com/doctrine/collections/legacy.zip/1a4fb7e902202c33cce8c55989b945612943c2ba
20/42: https://codeload.github.com/doctrine/inflector/legacy.zip/90b2128806bfde671b6952ab8bea493942c1fdae
21/42: https://codeload.github.com/doctrine/lexer/legacy.zip/83893c552fd2045dd78aef794c31e694c37c0b8c
22/42: https://codeload.github.com/php-fig/link-util/legacy.zip/1a07821801a148be4add11ab0603e4af55a72fac
23/42: https://codeload.github.com/php-fig/cache/legacy.zip/d11b50ad223250cf17b86e38383413f5a6764bf8
24/42: https://codeload.github.com/php-fig/container/legacy.zip/b7ce3b176482dbbc1245ebf52b181af44c2cf55f
25/42: https://codeload.github.com/doctrine/dbal/legacy.zip/7b9e911f9d8b30d43b96853dab26898c710d8f44
26/42: https://codeload.github.com/php-fig/link/legacy.zip/eea8e8662d5cd3ae4517c9b864493f59fca95562
27/42: https://codeload.github.com/php-fig/log/legacy.zip/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d
28/42: https://codeload.github.com/jdorn/sql-formatter/legacy.zip/64990d96e0959dff8e059dfcdc1af130728d92bc
29/42: https://codeload.github.com/php-fig/simple-cache/legacy.zip/753fa598e8f3b9966c886fe13f370baa45ef0e24
30/42: https://codeload.github.com/symfony/polyfill-intl-icu/legacy.zip/2d6e2b20d457603eefb6e614286c22efca30fdb4
31/42: https://codeload.github.com/symfony/polyfill-php56/legacy.zip/1dd42b9b89556f18092f3d1ada22cb05ac85383c
32/42: https://codeload.github.com/paragonie/random_compat/legacy.zip/634bae8e911eefa89c1abfbf1b66da679ac8f54d
33/42: https://codeload.github.com/symfony/polyfill-mbstring/legacy.zip/e79d363049d1c2128f133a2667e4f4190904f7f4
34/42: https://codeload.github.com/symfony/polyfill-util/legacy.zip/746bce0fca664ac0a575e465f65c6643faddf7fb
35/42: https://codeload.github.com/symfony/polyfill-php70/legacy.zip/13ce343935f0f91ca89605a2f6ca6f5c2f3faac2
36/42: https://codeload.github.com/doctrine/doctrine2/legacy.zip/e6c434196c8ef058239aaa0724b4aadb0107940b
37/42: https://codeload.github.com/willdurand/Negotiation/legacy.zip/03436ededa67c6e83b9b12defac15384cb399dc9
38/42: https://codeload.github.com/doctrine/DoctrineBundle/legacy.zip/6e96577cbbdbb5b6dcca2ff203d665976b51beb0
39/42: https://codeload.github.com/twigphp/Twig/legacy.zip/dd6ca96227917e1e85b41c7c3cc6507b411e0927
40/42: https://codeload.github.com/api-platform/core/legacy.zip/070278ba53e3dc1014c3556d84202e652acfbd4c
41/42: https://codeload.github.com/symfony/symfony/legacy.zip/5a7e31c48e7cd4831efa409fffb661beb9995174
42/42: https://codeload.github.com/Seldaek/monolog/legacy.zip/1e044bc4b34e91743943479f1be7a1d5eb93add0
Finished: success: 42, skipped: 0, failure: 0, total: 42
Package operations: 42 installs, 0 updates, 0 removals
- Installing willdurand/negotiation (v2.3.1): Loading from cache
- Installing twig/twig (v1.33.2): Loading from cache
- Installing symfony/polyfill-util (v1.3.0): Loading from cache
- Installing paragonie/random_compat (v2.0.10): Loading from cache
- Installing symfony/polyfill-php70 (v1.3.0): Loading from cache
- Installing symfony/polyfill-php56 (v1.3.0): Loading from cache
- Installing symfony/polyfill-mbstring (v1.3.0): Loading from cache
- Installing symfony/symfony (v3.3.0): Loading from cache
- Installing symfony/polyfill-intl-icu (v1.3.0): Loading from cache
- Installing psr/simple-cache (1.0.0): Loading from cache
- Installing psr/log (1.0.2): Loading from cache
- Installing psr/link (1.0.0): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing psr/cache (1.0.1): Loading from cache
- Installing fig/link-util (1.0.0): Loading from cache
- Installing doctrine/lexer (v1.0.1): Loading from cache
- Installing doctrine/inflector (v1.1.0): Loading from cache
- Installing doctrine/collections (v1.4.0): Loading from cache
- Installing doctrine/cache (v1.6.1): Loading from cache
- Installing doctrine/annotations (v1.4.0): Loading from cache
- Installing doctrine/common (v2.7.2): Loading from cache
- Installing api-platform/core (dev-master 070278b): Loading from cache
- Installing jdorn/sql-formatter (v1.2.17): Loading from cache
- Installing doctrine/doctrine-cache-bundle (1.3.0): Loading from cache
- Installing doctrine/dbal (v2.5.12): Loading from cache
- Installing doctrine/doctrine-bundle (1.6.8): Loading from cache
- Installing doctrine/instantiator (1.0.5): Loading from cache
- Installing doctrine/orm (v2.5.6): Loading from cache
- Installing incenteev/composer-parameter-handler (v2.1.2): Loading from cache
- Installing nelmio/cors-bundle (1.5.3): Loading from cache
- Installing webmozart/assert (1.2.0): Loading from cache
- Installing phpdocumentor/reflection-common (1.0): Loading from cache
- Installing phpdocumentor/type-resolver (0.2.1): Loading from cache
- Installing phpdocumentor/reflection-docblock (3.1.1): Loading from cache
- Installing composer/ca-bundle (1.0.7): Loading from cache
- Installing sensiolabs/security-checker (v4.0.4): Loading from cache
- Installing sensio/distribution-bundle (v5.0.20): Loading from cache
- Installing sensio/framework-extra-bundle (v3.0.26): Loading from cache
- Installing monolog/monolog (1.22.1): Loading from cache
- Installing symfony/monolog-bundle (v3.1.0): Loading from cache
- Installing swiftmailer/swiftmailer (v5.4.8): Loading from cache
- Installing symfony/swiftmailer-bundle (v2.6.2): Loading from cache
Clearing cache (cache-dir): /root/.composer/cache
Clearing cache (cache-files-dir): /root/.composer/cache/files
Clearing cache (cache-repo-dir): /root/.composer/cache/repo
Cache directory does not exist (cache-vcs-dir):
All caches cleared.
---> a7c7bb0f8175
Removing intermediate container f3467a883baf
Step 15/23 : COPY app app/
---> 771eee9e7dae
Removing intermediate container 924c3adf4d01
Step 16/23 : COPY bin bin/
---> 2226cfb57eb3
Removing intermediate container 47579bc5e7fb
Step 17/23 : COPY src src/
---> 789209ec2cf1
Removing intermediate container 6dd0294b9820
Step 18/23 : COPY web web/
---> 1d5682b3339b
Removing intermediate container 492ad358d120
Step 19/23 : RUN composer dump-autoload --optimize --classmap-authoritative --no-dev
---> Running in 20ff65e53511
Generating optimized autoload files
---> aee5d15e91ae
Removing intermediate container 20ff65e53511
Step 20/23 : COPY docker/app/docker-entrypoint.sh /usr/local/bin/docker-app-entrypoint
---> d59ead6f8e03
Removing intermediate container 6b1f2465d8e6
Step 21/23 : RUN chmod +x /usr/local/bin/docker-app-entrypoint
---> Running in 4f51d32713ad
---> d1eef760cf5e
Removing intermediate container 4f51d32713ad
Step 22/23 : ENTRYPOINT docker-app-entrypoint
---> Running in f41583198db0
---> d72dc60591f9
Removing intermediate container f41583198db0
Step 23/23 : CMD php-fpm
---> Running in 4b29a34bbcb0
---> cf16b1b57816
Removing intermediate container 4b29a34bbcb0
Successfully built cf16b1b57816
WARNING: Image for service app was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating apiplatformmaster_db_1 ...
Creating apiplatformmaster_nginx_1 ...
Creating apiplatformmaster_db_1
Creating apiplatformmaster_db_1 ... done
Creating apiplatformmaster_nginx_1 ... done
Creating apiplatformmaster_app_1 ... done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment