fabric8io / docker-maven-plugin

Maven plugin for running and creating Docker images
https://dmp.fabric8.io
Apache License 2.0
1.87k stars 642 forks source link

Failed to build the docker image on using "chmod" option #1711

Open lakshmi-dj opened 1 year ago

lakshmi-dj commented 1 year ago

Docker build is failed when COPY and ADD are used with the "--chmod=765" option

Info

qerub commented 3 months ago

I think setting <buildOptions><version>2</version></buildOptions> should unlock BuildKit for you; see https://dmp.fabric8.io/#config-image-build and https://docs.docker.com/engine/api/v1.38/#tag/Image/operation/ImageBuild. Having built-in support in docker-maven-plugin would be nice though!

rohanKanojia commented 3 months ago

@qerub : Could you please open a new issue about this? Shall we enable this behavior by default or via some configuration option?