Edit report at https://bugs.php.net/bug.php?id=79766&edit=1

 ID:                 79766
 Updated by:         der...@php.net
 Reported by:        eric at ericstern dot com
 Summary:            PECL no longer included in published docker build
-Status:             Open
+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:

We don't control these docker builds. They call them "official", but they're 
official *docker*, not official PHP.


Previous Comments:
------------------------------------------------------------------------
[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

-- 
PECL development discussion Mailing List (https://pecl.php.net/)
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to