-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Docker image AVIF support #182
Comments
Via that bug report - apparently things are made more annoying as early / not functional versions of aom are shipped on the Debian and Alpine source lists. I can confirm that the current 8.1 image here still does not work after installing aom and dav1d. The tag php:8.1-apache is built on bullseye. On bullseye-20230320-slim we have
On bookworm-20230320-slim we have
Thus it appears very likely that this is fixed in bookworm, but not bullseye. We could consider adding our own source list to try to point to an updated version of aom... or compiling it... but I do not expect to be making this effort. The referenced project takes care of all this ... In the official Nextcloud images things might be different, but here I want less work. This dependency is a good look, at least as a workaround until things eventually get updated. I will probably be building my development images to work on AVIF using it. |
Note also that there are no images for php:8.1-apache-alpine. All Apache images are built on Debian. |
On bookworm release The freeze for bookworm will happen according to the following timeline: https://release.debian.org/bookworm/freeze_policy.html They'll probably full freeze soon and get ready for release, and shortly after that I think we can expect the php contributors to publish new images... that is the hope for the official Nextcloud images, I think (to avoid dependencies, custom source lists, compiling aom, etc.) |
Has there been any movement on the AVIF support? |
Bookworm has obviously been released at this point. The images should be updated to Bookworm-based versions if they have not already been. Then the aforementioned libraries should be installed from the OS source list (typical installation process using I abandoned Nextcloud very quickly for several reasons - all on its end - so I am no longer the champion for this issue. |
No plans to pick this up from my side (as I don't have a concrete use case during development), but contributions to enable it would of course still be welcome. |
I'll close this as there are no plans to implement this from my side, but pull requests would of course still be welcome. |
Follow up from #177 -
I almost caught it, but didn't - we do need libaom and libdav1d here - and maybe libyuv.
gd_info()
is not enough to test this. Functionality fails at runtime. I should have done some actual AVIF tests.See https://bugs.php.net/bug.php?id=81217
and https://github.com/mlocati/docker-php-extension-installer
The text was updated successfully, but these errors were encountered: