hyperf / hyperf/hyperf-docker

pecl8: command not found

Abierto
#58 4 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dockerfile
Estrellas
348
Forks
201
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Hello, I tried to install package opentelemetry without success.

The pecl extension was not found.

I tried following the manual with the following commands:

```
RUN apk add --no-cache $PHPIZE_DEPS \
&& pecl8 install opentelemetry
```

With the following return:

```
bash-5.1# apk add --no-cache $PHPIZE_DEPS \
&& pecl8 install opentelemetry
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
OK: 318 MiB in 147 packages
bash: pecl8: command not found
bash-5.1#
```

How to correctly install pecl?

Tks!

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by reproducing the reported Alpine Docker commands, especially `apk add --no-cache $PHPIZE_DEPS` followed by `pecl8 install opentelemetry`, and inspect the image's PHP version and package setup. Done means the documented container build can locate PECL and install the OpenTelemetry extension successfully.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
docker, php
Área
devops
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.