You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confusion about the difference between Docker and OCI images, consistency with Podman and Containerfile
OCI Images have been a thing for a long time, but people think it's a Docker thing, when it is not only a Docker thing. Besides nerdctl, OCI images are run in MicroVMs.
Describe the solution you'd like
When calling BuildKit detect if .dockerignore doesn't exist but .containerignore exists, copy or rename .containerignore to .dockerignore and delete or rename it back after it completes or fails.
Consider warning if there is a mismatch between Dockerfile / .dockerignore and Containerfile / .containerignore.
Additional context
BuildKit doesn't support .containerignore - the issue was closed with "No interest." moby/buildkit#3108
The text was updated successfully, but these errors were encountered:
When calling BuildKit detect if .dockerignore doesn't exist but .containerignore exists, copy or rename .containerignore to .dockerignore and delete or rename it back after it completes or fails.
Unfortunately that would wreak concurrent builds.
Unless buildkit implements it, I am not sure there is a good solution here.
What is the problem you're trying to solve
Confusion about the difference between Docker and OCI images, consistency with Podman and Containerfile
OCI Images have been a thing for a long time, but people think it's a Docker thing, when it is not only a Docker thing. Besides nerdctl, OCI images are run in MicroVMs.
Describe the solution you'd like
When calling BuildKit detect if
.dockerignore
doesn't exist but.containerignore
exists, copy or rename.containerignore
to.dockerignore
and delete or rename it back after it completes or fails.Consider warning if there is a mismatch between
Dockerfile
/.dockerignore
andContainerfile
/.containerignore
.Additional context
BuildKit doesn't support
.containerignore
- the issue was closed with "No interest." moby/buildkit#3108The text was updated successfully, but these errors were encountered: