.dockerignore whitelist rules not respected #2576
Labels
build/docker
help wanted
We would love to have this done, but don't have the bandwidth, need help from contributors
kind/bug
Something isn't working
Expected behavior
Skaffold calls
docker build
directly so that .dockerignore file is applied as expected, including whitelist rules likewhich is the recommended approach – only sync what belongs to the build to avoid rebuilds.
Actual behavior
In the above .dockerignore example, only
get transmitted in the Docker context. Far from expectation.
Information
Steps to reproduce the behavior
See full example project at: https://github.com/AndiDog/skaffold-dockerignore-issue
Why this is important
Because builds are different in Skaffold vs. raw Docker CLI, and the good-practice whitelisting approach in .dockerignore is fully unusable.
The text was updated successfully, but these errors were encountered: