BUILD
Starting Step #0
Step #0: sha256:f7061537999fcb2cbb329467abe0854b0cff4b964e89eaa68b84701d96de5d76: Pulling from gcp-runtimes/php/gen-dockerfile
Step #0: Digest: sha256:f7061537999fcb2cbb329467abe0854b0cff4b964e89eaa68b84701d96de5d76
Finished Step #0
Starting Step #1
qStep #1: sha256:f87c11770a4d3ed33436508d206c584812cd656e6ed08eda1cff5c1ee44f5870: Pulling from kaniko-project/executor
Step #1: 042c12654203: Pulling fs layer
Step #1: e623e7f7d83e: Pulling fs layer
Step #1: 4a78c04d4eaa: Pulling fs layer
Step #1: bf1e1a1d843a: Pulling fs layer
Step #1: bde2bd8edab4: Pulling fs layer
Step #1: 9c94fd449ba4: Pulling fs layer
Step #1: c1edeb5aef20: Pulling fs layer
Step #1: bf1e1a1d843a: Waiting
Step #1: bde2bd8edab4: Waiting
Step #1: 9c94fd449ba4: Waiting
Step #1: c1edeb5aef20: Waiting
Step #1: 4a78c04d4eaa: Verifying Checksum
Step #1: 4a78c04d4eaa: Download complete
Step #1: e623e7f7d83e: Verifying Checksum
Step #1: e623e7f7d83e: Download complete
Step #1: bf1e1a1d843a: Verifying Checksum
Step #1: bf1e1a1d843a: Download complete
Step #1: 042c12654203: Verifying Checksum
Step #1: 042c12654203: Download complete
Step #1: bde2bd8edab4: Verifying Checksum
Step #1: bde2bd8edab4: Download complete
Step #1: c1edeb5aef20: Verifying Checksum
Step #1: c1edeb5aef20: Download complete
Step #1: 9c94fd449ba4: Verifying Checksum
Step #1: 9c94fd449ba4: Download complete
Step #1: 042c12654203: Pull complete
Step #1: e623e7f7d83e: Pull complete
Step #1: 4a78c04d4eaa: Pull complete
Step #1: bf1e1a1d843a: Pull complete
Step #1: bde2bd8edab4: Pull complete
Step #1: 9c94fd449ba4: Pull complete
Step #1: c1edeb5aef20: Pull complete
Step #1: Digest: sha256:f87c11770a4d3ed33436508d206c584812cd656e6ed08eda1cff5c1ee44f5870
Step #1: INFO[0000] Removing ignored files from build context: [.dockerignore Dockerfile .git .hg .svn *~ .\#* app.yaml]
Step #1: INFO[0012] Taking snapshot of full filesystem...
Step #1: INFO[0020] ENV DOCUMENT_ROOT='/app/public' APP_KEY='base64:/KPFGSYBkElkPiaC/64ygpi2NZqtydcjl8/ebCHW8Os=' FRONT_CONTROLLER_FILE='index.php' COMPOSER_FLAGS='--no-dev --prefer-dist' DETECTED_PHP_VERSION='7.1'
Step #1: INFO[0020] Using files from context: [/workspace]
Step #1: INFO[0020] COPY . $APP_DIR
Step #1: INFO[0021] Taking snapshot of files...
Step #1: INFO[0023] RUN chown -R www-data.www-data $APP_DIR
Step #1: INFO[0023] cmd: /bin/sh
Step #1: INFO[0023] args: [-c chown -R www-data.www-data $APP_DIR]
Step #1: INFO[0023] Taking snapshot of full filesystem...
Step #1: INFO[0032] RUN /build-scripts/composer.sh
Step #1: INFO[0032] cmd: /bin/sh
Step #1: INFO[0032] args: [-c /build-scripts/composer.sh]
Step #1: Using PHP version: 7.1
Step #1: Install PHP extensions...
Step #1: Fetched 18.3 MB in 4s (4089 kB/s)
Step #1: Reading package lists...
Step #1: apt-get install -y --no-install-recommends
Step #1: Reading package lists...
Step #1: Building dependency tree...
Step #1: Reading state information...
Step #1: 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
Step #1: Running composer...
Step #1: Loading composer repositories with package information
Step #1: Installing dependencies from lock file
Step #1: Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
Step #1: Package operations: 58 installs, 0 updates, 0 removals
Step #1: As there is no 'unzip' command installed zip files are being unpacked using the PHP zip extension.
Step #1: This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Step #1: Installing 'unzip' may remediate them.
Step #1: - Installing doctrine/event-manager (v1.0.0): Downloading (100%)
Step #1: - Installing doctrine/cache (v1.8.0): Downloading (100%)
Step #1: - Installing doctrine/dbal (v2.8.0): Downloading (100%)
Step #1: - Installing doctrine/inflector (v1.3.0): Downloading (100%)
Step #1: - Installing doctrine/lexer (v1.0.1): Downloading (100%)
Step #1: - Installing dragonmantank/cron-expression (v2.2.0): Downloading (100%)
Step #1: - Installing erusev/parsedown (1.7.1): Downloading (100%)
Step #1: - Installing vlucas/phpdotenv (v2.5.1): Downloading (100%)
Step #1: - Installing symfony/css-selector (v4.1.4): Downloading (100%)
Step #1: - Installing tijsverkoyen/css-to-inline-styles (2.2.1): Downloading (100%)
Step #1: - Installing symfony/polyfill-php72 (v1.9.0): Downloading (100%)
Step #1: - Installing symfony/polyfill-mbstring (v1.9.0): Downloading (100%)
Step #1: - Installing symfony/var-dumper (v4.1.4): Downloading (100%)
Step #1: - Installing symfony/routing (v4.1.4): Downloading (100%)
Step #1: - Installing symfony/process (v4.1.4): Downloading (100%)
Step #1: - Installing symfony/polyfill-ctype (v1.9.0): Downloading (100%)
Step #1: - Installing symfony/http-foundation (v4.1.4): Downloading (100%)
Step #1: - Installing symfony/event-dispatcher (v4.1.4): Downloading (100%)
Step #1: - Installing psr/log (1.0.2): Downloading (100%)
Step #1: - Installing symfony/debug (v4.1.4): Downloading (100%)
Step #1: - Installing symfony/http-kernel (v4.1.4): Downloading (100%)
Step #1: - Installing symfony/finder (v4.1.4): Downloading (100%)
Step #1: - Installing symfony/console (v4.1.4): Downloading (100%)
Step #1: - Installing egulias/email-validator (2.1.6): Downloading (100%)
Step #1: - Installing swiftmailer/swiftmailer (v6.1.3): Downloading (100%)
Step #1: - Installing paragonie/random_compat (v9.99.99): Downloading (100%)
Step #1: - Installing ramsey/uuid (3.8.0): Downloading (100%)
Step #1: - Installing psr/simple-cache (1.0.1): Downloading (100%)
Step #1: - Installing psr/container (1.0.0): Downloading (100%)
Step #1: - Installing symfony/translation (v4.1.4): Downloading (100%)
Step #1: - Installing nesbot/carbon (1.34.0): Downloading (100%)
Step #1: - Installing monolog/monolog (1.23.0): Downloading (100%)
Step #1: - Installing league/flysystem (1.0.47): Downloading (100%)
Step #1: - Installing laravel/framework (v5.7.6): Downloading (100%)
Step #1: - Installing fideloper/proxy (4.0.0): Downloading (100%)
Step #1: - Installing psr/http-message (1.0.1): Downloading (100%)
Step #1: - Installing psr/cache (1.0.1): Downloading (100%)
Step #1: - Installing guzzlehttp/psr7 (1.4.2): Downloading (100%)
Step #1: - Installing guzzlehttp/promises (v1.3.1): Downloading (100%)
Step #1: - Installing guzzlehttp/guzzle (6.3.3): Downloading (100%)
Step #1: - Installing firebase/php-jwt (v5.0.0): Downloading (100%)
Step #1: - Installing google/auth (v1.4.0): Downloading (100%)
Step #1: - Installing rize/uri-template (0.3.2): Downloading (100%)
Step #1: - Installing google/cloud-core (v1.23.7): Downloading (100%)
Step #1: - Installing google/cloud-storage (v1.9.1): Downloading (100%)
Step #1: - Installing jakub-onderka/php-console-color (0.1): Downloading (100%)
Step #1: - Installing league/oauth1-client (1.7.0): Downloading (100%)
Step #1: - Installing laravel/socialite (v4.0.1): Downloading (100%)
Step #1: - Installing nikic/php-parser (v4.0.4): Downloading (100%)
Step #1: - Installing jakub-onderka/php-console-highlighter (v0.3.2): Downloading (100%)
Step #1: - Installing dnoegel/php-xdg-base-dir (0.1): Downloading (100%)
Step #1: - Installing psy/psysh (v0.9.8): Downloading (100%)
Step #1: - Installing laravel/tinker (v1.0.7): Downloading (100%)
Step #1: - Installing mtdowling/jmespath.php (2.4.0): Downloading (100%)
Step #1: - Installing aws/aws-sdk-php (3.69.13): Downloading (100%)
Step #1: - Installing league/flysystem-aws-s3-v3 (1.0.21): Downloading (100%)
Step #1: - Installing superbalist/flysystem-google-storage (7.1.0): Downloading (100%)
Step #1: - Installing superbalist/laravel-google-cloud-storage (2.0.0): Downloading (100%)
Step #1: Generating optimized autoload files
Step #1: > Illuminate\Foundation\ComposerScripts::postAutoloadDump
Step #1: > @php artisan package:discover --ansi
Step #1: Discovered Package: fideloper/proxy
Step #1: Discovered Package: laravel/socialite
Step #1: Discovered Package: laravel/tinker
Step #1: Discovered Package: nesbot/carbon
Step #1: Package manifest generated successfully.
Step #1: > chmod -R 755 bootstrap/cache
Step #1: > php artisan cache:clear
Step #1: Application cache cleared!
Step #1: INFO[0060] Taking snapshot of full filesystem...
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/53
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/1b
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/47
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/27
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/b4
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/76
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/9c
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/33
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/1d
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/f4
Step #1: INFO[0062] Adding whiteout for /app/storage/framework/cache/data/e7
Step #1: INFO[0067] RUN /bin/bash /build-scripts/move-config-files.sh
Step #1: INFO[0067] cmd: /bin/sh
Step #1: INFO[0067] args: [-c /bin/bash /build-scripts/move-config-files.sh]
Step #1: Moving user supplied config files...
Step #1: INFO[0067] Taking snapshot of full filesystem...
Step #1: INFO[0071] RUN /usr/sbin/nginx -t -c /etc/nginx/nginx.conf
Step #1: INFO[0071] cmd: /bin/sh
Step #1: INFO[0071] args: [-c /usr/sbin/nginx -t -c /etc/nginx/nginx.conf]
Step #1: nginx: [emerg] "server" directive is not allowed here in /etc/nginx/nginx.conf:1
Step #1: nginx: configuration file /etc/nginx/nginx.conf test failed
Step #1: error building image: error building stage: waiting for process to exit: exit status 1
Finished Step #1
ERROR
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------