Bug #79766 [Com]: PECL no longer included in published docker build
| From: | eric at ericstern dot com | Date: | Wed, 01 Jul 2020 18:05:36 +0000 |
| Subject: | Bug #79766 [Com]: PECL no longer included in published docker build | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-16824@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79766&edit=1
ID: 79766
Comment by: eric at ericstern dot com
Reported by: eric at ericstern dot com
Summary: PECL no longer included in published docker build
Status: Not a bug
Type: Bug
Package: PECL
Operating System: docker/alpine linux
PHP Version: 8.0.0alpha1
Block user comment: N
Private report: N
New Comment:
Oh, no kidding. I'll try https://github.com/docker-library/php/issues
instead. Thanks!
Previous Comments:
------------------------------------------------------------------------
[2020-07-01 18:03:50] derick@php.net
We don't control these docker builds. They call them "official", but they're
official *docker*, not official PHP.
------------------------------------------------------------------------
[2020-07-01 18:01:47] eric at ericstern dot com
Description:
------------
This is presumably intentional and temporary, but PECL is not included in the published Docker
image:
php:8.0.0alpha1-fpm-alpine (it also appears to be missing in fpm-buster). For
software that depends on pecl packages, this makes testing against the alpha builds
difficult/impossible.
Test script:
---------------
$ docker run --rm -it php:8.0.0alpha1-fpm-alpine sh
/var/www/html # apk add $PHPIZE_DEPS && pecl install apcu && docker-php-ext-enable
apcu
Alternatively, in a Dockerfile:
FROM php:8.0.0alpha1-fpm-alpine
RUN apk add --update \
$PHPIZE_DEPS \
&& pecl install apcu \
&& docker-php-ext-enable apcu \
&& && rm -rf /var/cache/apk/*
Expected result:
----------------
Installation completes, or at least returns an error that the pecl packages haven't been
updated for PHP 8 yet.
Actual result:
--------------
sh: pecl: not found
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79766&edit=1