Creates an empty `dockerignore“ object that can be populated with patterns to ignore during Docker builds.
See also
di_add()
for adding patterns,
write_dockerignore()
for writing to a .dockerignore file, &
dk_template_ignore_common()
for adding common patterns
Other dockerignore core functions:
c.dockerignore()
,
check_dockerignore()
,
is_dockerignore()
,
print.dockerignore()