dromara / Jpom

🚀简而轻的低侵入式在线构建、自动部署、日常运维、项目监控软件
https://jpom.dromara.org/
Other
1.46k stars 304 forks source link

修改docker demon配置后,docker构建没有使用新配置 #49

Open GlowingRuby opened 1 year ago

GlowingRuby commented 1 year ago

Dockerfile里使用了COPY --chmod=xxx,修改了daemon.json添加

"features": {
  "buildkit": true
}

重新构建还是报errorDetail={message=the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled},error=the --chmod option requires BuildKit. Refer to https://docs.docker.com/go/buildkit/ to learn how to build images with BuildKit enabled 尝试了重启server、agent等均不生效 但是使用命令行在jpom创建的source目录下可以生效