GoogleCloudPlatform / php-docker

Docker images for running PHP applications on the App Engine Flexible Runtime
Apache License 2.0
188 stars 83 forks source link

Flex not building PHP 5.6 #515

Closed feitnomore closed 4 years ago

feitnomore commented 4 years ago

Seems like PHP 5.6 was deprecated.

feitnomore commented 4 years ago
BUILD
Starting Step #0
Step #0: Pulling image: gcr.io/gcp-runtimes/php/gen-dockerfile@sha256:4d188266a5c88d84a10405c3f6643ad0c39f127e801a94926826e3c6443baf42
Step #0: sha256:4d188266a5c88d84a10405c3f6643ad0c39f127e801a94926826e3c6443baf42: Pulling from gcp-runtimes/php/gen-dockerfile
Step #0: Digest: sha256:4d188266a5c88d84a10405c3f6643ad0c39f127e801a94926826e3c6443baf42
Step #0: Status: Downloaded newer image for gcr.io/gcp-runtimes/php/gen-dockerfile@sha256:4d188266a5c88d84a10405c3f6643ad0c39f127e801a94926826e3c6443baf42
Step #0: gcr.io/gcp-runtimes/php/gen-dockerfile@sha256:4d188266a5c88d84a10405c3f6643ad0c39f127e801a94926826e3c6443baf42
Step #0: + php /builder/create_dockerfile.php create --php72-image gcr.io/google-appengine/php72@sha256:837845b68dd0ee9f6b4b55733952cd5d2608915f74dd5a3fa4e3279518feb43a --php71-image gcr.io/google-appengine/php71@sha256:bcb66d13726be323575dbc8c974ce54971195e19b94d0bfd82f1b78671573887
Step #0:
Step #0: There is no PHP runtime version specified in composer.json, or
Step #0: we don't support the version you specified. Google App Engine
Step #0: uses the latest 7.2.x version.
Step #0: We recommend pinning your PHP version by running:
Step #0:
Step #0: composer require php 7.2.* (replace it with your desired minor version)
Step #0:
Step #0: Using PHP version 7.2.x...
Step #0:
Finished Step #0
Starting Step #1
Step #1: Already have image (with digest): gcr.io/kaniko-project/executor@sha256:f87c11770a4d3ed33436508d206c584812cd656e6ed08eda1cff5c1ee44f5870
Step #1: INFO[0000] Removing ignored files from build context: [.dockerignore Dockerfile .git .hg .svn *~ .\#* app.yaml]
Step #1: INFO[0000] Downloading base image gcr.io/google-appengine/php72@sha256:837845b68dd0ee9f6b4b55733952cd5d2608915f74dd5a3fa4e3279518feb43a
Step #1: INFO[0021] Taking snapshot of full filesystem...
Step #1: INFO[0032] ENV DOCUMENT_ROOT='/app/web' FRONT_CONTROLLER_FILE='index.php' COMPOSER_FLAGS='--no-dev --prefer-dist' DETECTED_PHP_VERSION='7.2'
Step #1: INFO[0032] Using files from context: [/workspace]
Step #1: INFO[0032] COPY . $APP_DIR
Step #1: INFO[0032] Taking snapshot of files...
Step #1: INFO[0032] RUN chown -R www-data.www-data $APP_DIR
Step #1: INFO[0032] cmd: /bin/sh
Step #1: INFO[0032] args: [-c chown -R www-data.www-data $APP_DIR]
Step #1: INFO[0032] Taking snapshot of full filesystem...
Step #1: INFO[0042] RUN /build-scripts/composer.sh
Step #1: INFO[0042] cmd: /bin/sh
Step #1: INFO[0042] args: [-c /build-scripts/composer.sh]
Step #1: Using PHP version: 7.2
Step #1: Install PHP extensions...
Step #1: Running composer...
Step #1: Loading composer repositories with package information
Step #1: Installing dependencies from lock file
Step #1: Your requirements could not be resolved to an installable set of packages.
Step #1:
Step #1: Problem 1
Step #1: - This package requires php 5.6.* but your PHP version (7.2.29) does not satisfy that requirement.
Step #1:
Step #1: error building image: error building stage: waiting for process to exit: exit status 2
Finished Step #1
feitnomore commented 4 years ago

Wrong repo.