Skip to content
This repository was archived by the owner on Oct 19, 2023. It is now read-only.

Is this the same as gcr.io/google-appengine/php? #545

Open

Description

@qu0cster

This is a question. Is this the same as gcr.io/google-appengine/php? If so, for some odd reason the PHP installed is not respecting the PHP version in the composer.json. When I built with gcr.io/google-appengine/php:latest, I notice the PHP version is 7.1.33 and the composer.json is asking for 7.2.* and it breaks everything.

When I built with the previous image gcr.io/google-appengine/php@sha256:a85abb8c3aa946c9db321f72d3c46a0bc9aae97445dc3d3949d468f789caa8aa, it installed the correct 7.2.* version

Activity

  1. atomicjets commented on Oct 12, 2021

    @atomicjets

    Also seeing this break our builds. PHP version is now not being honoured.

  2. tiptopcoder commented on Oct 13, 2021

    @tiptopcoder

    Files are not being copied either.

    Confirmed using SHA as @qu0cster should work.

    But we might need long term solution for this and to GCP team, how can you avoid breaking your customer's build is important too.

  3. Shaazaam commented on Oct 14, 2021

    @Shaazaam

    Can confirm the same issue.

    Attempted using gcr.io/google-appengine/php72. While it will get the correct PHP version, files are not being copied correctly. This is easily noted by failures to read composer.json that should be uploaded, as well as changes made in php.ini that are not being made.

  4. rostved commented on Oct 24, 2021

    @rostved

    This is a question. Is this the same as gcr.io/google-appengine/php? If so, for some odd reason the PHP installed is not respecting the PHP version in the composer.json. When I built with gcr.io/google-appengine/php:latest, I notice the PHP version is 7.1.33 and the composer.json is asking for 7.2.* and it breaks everything.

    When I built with the previous image gcr.io/google-appengine/php@sha256:a85abb8c3aa946c9db321f72d3c46a0bc9aae97445dc3d3949d468f789caa8aa, it installed the correct 7.2.* version

    Thanks. You can use the tag 2020-10-22-09-37 as well. Eg.:
    FROM gcr.io/google-appengine/php:2020-10-22-09-37

  5. jaakkom commented on Oct 25, 2021

    @jaakkom
  6. khena commented on Dec 21, 2021

    @khena

    Hi guys,

    I have the same issue with the PHP7.4 version. None of the versions on the container registry google-appengine/global/php (and others php*) are up to date with this git. Latest tag doesn't manage php8 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions