php7-pecl-mongodb 在 alpine 3.10 中缺失
php7-pecl-mongodb missing in alpine 3.10
最近升级到 alpine 3.10(docker 图片)因为我需要 php 7.3 来进行给定的安全修复。
在构建过程中,我安装了 php7-pecl-mongodb。似乎这个包在 3.10 中不再可用。
构建过程中出现以下错误:
php7-pecl-mongodb (missing):
ERROR: unsatisfiable constraints:
required by: world[php7-pecl-mongodb]
在 alpine 库中找不到包,在网上搜索时我可以看到该包在 alpine 3.10 中不可用。
这个的替代品是什么?
尝试使用 edge or v3.9,因为它在 v3.10 中不存在。
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/v3.9/community/ php7-pecl-mongodb=1.5.3-r2
我在边缘测试存储库中找到了 php7-pecl-mongodb 的工作版本 1.6.1-r0:
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ php7-pecl-mongodb
最近升级到 alpine 3.10(docker 图片)因为我需要 php 7.3 来进行给定的安全修复。
在构建过程中,我安装了 php7-pecl-mongodb。似乎这个包在 3.10 中不再可用。
构建过程中出现以下错误:
php7-pecl-mongodb (missing):
ERROR: unsatisfiable constraints:
required by: world[php7-pecl-mongodb]
在 alpine 库中找不到包,在网上搜索时我可以看到该包在 alpine 3.10 中不可用。
这个的替代品是什么?
尝试使用 edge or v3.9,因为它在 v3.10 中不存在。
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/v3.9/community/ php7-pecl-mongodb=1.5.3-r2
我在边缘测试存储库中找到了 php7-pecl-mongodb 的工作版本 1.6.1-r0:
RUN apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ php7-pecl-mongodb