构建docker镜像失败
john1337 opened this issue · comments
johnhuster commented
使用build目录下的Dockerfile执行docker build命令,提示如下错误:
failed to compute cache key: "/bin/docker-startup.sh" not found: not found
Wilson Wu commented
我尝试过本地将bin目录中所有脚本同步好,是可以正常构建镜像的,由于nacos-server镜像本身是下载nacos-server已build好的jar包进行打包,并不是从代码构建,所以可以考虑直接使用官方镜像:https://hub.docker.com/r/nacos/nacos-server/tags