上周到今天,当我重建图像时,我在 alpine 上顺利运行 php7,但现在没有任何效果。我得到错误:
/ # apk add php7
ERROR: unsatisfiable constraints:
php7 (missing):
required by: world[php7]
对于我尝试安装并且以前有效的每个包,扩展。这是我用来设置 php7 的 RUN 命令:
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories && \
apk update && \
apk upgrade && \
apk add --update \
php7-mcrypt \
php7-soap \
php7-openssl \
php7-gmp \
php7-pdo_odbc \
php7-json \
php7-dom \
php7-pdo \
php7-zip \
php7-mysqli \
php7-sqlite3 \
php7-pdo_pgsql \
php7-bcmath \
php7-gd \
php7-odbc \
php7-pdo_mysql \
php7-pdo_sqlite \
php7-gettext \
php7-xmlreader \
php7-xmlrpc \
php7-bz2 \
php7-iconv \
php7-pdo_dblib \
php7-curl \
php7-ctype \
php7-fpm
上周安装的所有上述扩展都完美无缺。我错过了什么?
证明包确实存在:https ://pkgs.alpinelinux.org/packages?name=php7-*&branch=&repo=&arch=&maintainer=