xiaoyu98628 / dnmp

docker compose 快速部署LNMP环境又名DNMP 包括但不限于 Nginx,Mysql,PHP,Redis 是一款多版本的,使用supervisor管理PHP进程,nginx使用acme.sh自动申请(并自动更新)免费ssl证书,是可一键安装的程序
Apache License 2.0
11 stars 1 forks source link

did not complete successfully: exit code: 127 #1

Closed lucianLF closed 2 weeks ago

lucianLF commented 2 months ago
 No such file or directory

failed to solve: process "/bin/sh -c apk update && apk upgrade     && if [ ${TZ} ]; then apk add --no-cache --virtual .build-deps tzdata && cp -r \"/usr/share/zoneinfo/${TZ}\" /etc/localtime && echo \"${TZ}\" > /etc/timezone; fi     && apk add --no-cache openssl bash cronie     && cd /acme.sh && ./acme.sh --install -m ${NGINX_REGISTER_ACME_MAIL_1_21}     && ln -s ~/.acme.sh/acme.sh /usr/local/bin/acme.sh     && rm -rf /acme.sh     && apk del .build-deps" did not complete successfully: exit code: 127
lucianLF commented 2 months ago

只修改了.env的PHP_EXTENSIONS_72,把举例的扩展都加上了

PHP_EXTENSIONS_72=pdo_mysql,pcntl,mysqli,exif,bcmath,opcache,gettext,gd,sockets,shmop,intl,bz2,soap,zip,sysvmsg,sysvsem,sysvshm,xsl,calendar,tidy,snmp,amqp,apcu,rdkafka,redis,swoole,memcached,xdebug,mongodb,protobuf,grpc,xlswriter,igbinary,psr,phalcon,mcrypt,yaml
xiaoyu98628 commented 2 months ago

网络的问题,上面的报错是nginx构建镜像,你多尝试几次

xiaoyu98628 commented 2 weeks ago

哥们这个是我的问题,之前我一直使用的是mac,没有使用Windows系统测试,我今天改了一下,可以了