kaniko
kaniko copied to clipboard
Kaniko build fails when using COPY command (Apache airflow build)
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:
- Apache airflow has a standalone Dockerfile.
- 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 |
|