Closed CanvasCompanyHylke closed 4 months ago
Could you report this to mlocati/php-extension-installer
?
This is likely a missing system dependency.
Could you report this to
mlocati/php-extension-installer
?This is likely a missing system dependency.
I could, but it works on the base PHP image. So, I thought it was this custom container. But I'll report it there too.
They only support official PHP images for bug reports. And in the official php:8.3.8-cli-bookworm
image I can install the http extension without any problems..
We extend the official PHP images (ZTS).
@CanvasCompanyHylke this is def an issue with mlocati/php-extension-installer
.
This fails to build (using the community php images):
FROM php:8.3.8-zts AS tmp
# Copy PHP extension install script
COPY --link --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN set -eux; install-php-extensions http;
The zts image fails indeed. I'll make a issue on their side.
@dunglas The mlocati/php-extension-installer
script and Docker image got updated. Can we get new Docker images for FrankenPHP? :see_no_evil:
@CanvasCompanyHylke they are built automatically every night.
What happened?
Here two Dockerfiles:
The first image can't build. It crashes during the compiling if the extension. The second one, based on the official PHP image, builds without any problem.
Are there package being deleted in the FrankenPHP images?
Build Type
Docker (Debian Bookworm)
Worker Mode
No
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Relevant log output