kaniko icon indicating copy to clipboard operation
kaniko copied to clipboard

Kaniko build fails when using COPY command (Apache airflow build)

Open jesbinjoseph opened this issue 1 year ago • 0 comments

Actual behavior When building Apache airflow using kaniko the build process always fail at a COPY command the

Expected behavior We were able to build the same docker file using the docker build command.

To Reproduce Steps to reproduce the behavior:

  1. Apache airflow has a standalone Dockerfile.
  2. Build the Dockerifle using the kaniko agents, docker run -ti --rm -v ${PWD}:/workspace gcr.io/kaniko-project/executor:debug --no-push --dockerfile=/workspace/Dockerfile --context=dir:///workspace/ --verbosity=trace

Additional Information

  • Dockerfile airflow docker file
  • Build Context This is a standalone dockerfile.
  • Kaniko Image (fully qualified with digest) gcr.io/kaniko-project/executor:v1.23.1-debug

Triage Notes for the Maintainers

Description Yes/No
Please check if this a new feature you are proposing
  • - [ ]
Please check if the build works in docker but not in kaniko
  • - [ ]
Please check if this error is seen when you use --cache flag
  • - [ ]
Please check if your dockerfile is a multistage dockerfile
  • - [ ]

jesbinjoseph avatar Jun 25 '24 04:06 jesbinjoseph