Skip to content
This repository has been 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
qu0cster opened this issue Oct 11, 2021 · 6 comments
Open

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

qu0cster opened this issue Oct 11, 2021 · 6 comments

Comments

@qu0cster
Copy link

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

@atomicjets
Copy link

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

@tiptopcoder
Copy link

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.

@Shaazaam
Copy link

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.

@rostved
Copy link

rostved commented Oct 24, 2021

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

@jaakkom
Copy link

jaakkom commented Oct 25, 2021

@frost-byte @donmccasland Any thoughts?

@khena
Copy link

khena commented Dec 21, 2021

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants