Files
Sebastian Lorenz a6f3a52936 feat(docker): make build contexts from a directory and its .dockerignore
A new DockerBuildContext service, built over FileSystem and Path, turns a
directory into the tar stream images.build takes, as docker build does: the
Dockerfile's own ignore file or else .dockerignore, read with core's
IgnoreFile.dockerignore and walked with FileSystem.glob; the Dockerfile and
the ignore file always sent, the Dockerfile first for BuildKit; files,
directories and unfollowed symbolic links owned by root. NodeDocker's layers
provide it. A malformed ignore file or a file that fails to read is the new
DockerError reason InvalidBuildContext.
2026-11-09 07:06:52 +00:00
..