yeszao / dnmp

Docker LNMP (Nginx, PHP7/PHP5, MySQL, Redis)
https://www.awaimai.com/2120.html
MIT License
3.96k stars 1.41k forks source link

docker compose up 报错 Permission denied #574

Closed gelcaas closed 1 year ago

gelcaas commented 1 year ago

=> ERROR [ 2/12] RUN if [ mirrors.aliyun.com ] ; then sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repos 0.3s

[ 2/12] RUN if [ mirrors.aliyun.com ] ; then sed -i "s/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g" /etc/apk/repositories ; fi:

0 0.303 sed: can't create temp file '/etc/apk/repositoriesXXXXXX': Permission denied

yeszao commented 1 year ago

已修复:https://github.com/yeszao/dnmp/commit/bf71f5175177c71e7124223c373550cef884a482