Yaeger
March 13, 2023, 11:14am
1
Hi there,
We are having an issue currently with PHP 8.2.0: "Cannot instantiate" from|trait|abstract class from · Issue #9675 · php/php-src · GitHub
Is there a way we can use fideloper/fly-laravel
with PHP 8.2.2? How do we specify the patch number?
Thanks in advance!
Johan
Yaeger
March 13, 2023, 11:14am
2
@fideloper-fly I think this question is best directed at you
Yaeger
March 13, 2023, 11:48am
3
When I do fly search php
it does show this version for all the php8.2-*
packages: 8.2.0-3+ubuntu20.04.1+deb.sury.org+1
. Only after I run apt update
, I can also see the new versions: 8.2.3-1+ubuntu20.04.1+deb.sury.org+1
.
I see an apt update
in the Dockerfile, so I thought it should already be updated Maybe the Docker image needs to be rebuilt?
That makes senes, I’ll rebuild those!
Thanks for the heads up, hopefully I can see about automating that in a GitHub Action or similar.
1 Like
Yaeger
March 13, 2023, 12:38pm
5
Thank you! Can you let me know when you have rebuilt these?
Should be all set now, give it a shot!
Let me know if you hit any caching issues with the base container.
1 Like
Yaeger
March 13, 2023, 1:44pm
7
I just redeployed using fly deploy --no-cache
but I’m still seeing 8.2.0
On dockerhub I see last push: 2 months ago. Are you sure it’s correct like this?
The example you showed yields this for me:
Are these the caching issues of the base container you talked about?
argggg my build script had an extra flag to also push
That’s pushed now
Yaeger
March 13, 2023, 4:35pm
9
Thanks! Just redeployed a few apps and they are all on 8.2.3 now.
1 Like
system
Closed
March 20, 2023, 4:35pm
10
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.