hyperf / hyperf/hyperf-docker

pecl8: command not found

オープン
#58 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dockerfile
スター
348
フォーク
201
PR マージ指標
30日以内にマージされた PR はありません

説明

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!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, php
領域
devops
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。