hyperf / hyperf/hyperf-docker

pecl8: command not found

Đang mở
#58 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Dockerfile
Star
348
Fork
201
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
docker, php
Lĩnh vực
devops
Loại issue
Lỗi
Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.