Skip to main content

Module docker

Module docker 

Source

Structs§

DockerContext
Inputs the Dockerfile renderer needs. All fields come from the project (rust-toolchain.toml, Cargo.toml, on-disk dirs, deploy metadata) and are fully resolved by the caller — render_dockerfile itself does no I/O.

Functions§

docker_compose_template
dockerignore_template
Static .dockerignore body. Phase 122.2 Plan 06 owns the canonical content.
read_rust_channel
Read [toolchain] channel from <root>/rust-toolchain.toml. Defaults to "stable" when the file is missing or unparseable.
render_dockerfile
Render a Dockerfile from the supplied context. Pure string substitution.