pub async fn build_image(
client: &DockerClient,
tag: Option<&str>,
progress: &mut ProgressReporter,
no_cache: bool,
) -> Result<String, DockerError>Expand description
Build the opencode image from embedded Dockerfile
Shows real-time build progress with streaming output. Returns the full image:tag string on success.
ยงArguments
client- Docker clienttag- Image tag (defaults to IMAGE_TAG_DEFAULT)progress- Progress reporter for build feedbackno_cache- If true, build without using Docker layer cache