GoogleContainerTools / kaniko

Build Container Images In Kubernetes
Apache License 2.0
14.23k stars 1.4k forks source link

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

Open jesbinjoseph opened 6 days ago

jesbinjoseph commented 6 days ago

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