Writes the output of dockerfile() to a file so it can be appended to an
existing Dockerfile or included verbatim.
See also
Other output:
as_install_plan(),
write_install_script(),
write_json(),
write_report()
Examples
plan <- check_packages("xml2", platform = "ubuntu-22.04")
write_dockerfile_snippet(plan, file.path(tempdir(), "Dockerfile.sysreqs"))
