pub fn build_container(docker_env: &str) -> Result<()> {
    let dockerfile = format!("docker/Dockerfile.{}", docker_env);
    RunCommand::new(
        "docker",
        &["build", "-f", &dockerfile, "-t", IMAGE_NAME, "docker"],
    ).enable_timeout(false)
        .run()
}
/// Builds the docker container image, 'crater', what will be used
/// to isolate builds from each other. This expects the Dockerfile
/// to exist in the `docker` directory, at runtime.
Builds the docker container image, 'crater', what will be used
to isolate builds from each other. This expects the Dockerfile
to exist in the `docker` directory, at runtime.
Builds the docker container image ' crater ' what will be used to isolate builds from each other . This expects the Dockerfile to exist in the ` docker ` directory at runtime .
pub fn build_container(docker_env: &str) -> Result<()> {
    let dockerfile = format!("docker/Dockerfile.{}", docker_env);
    RunCommand::new(
        "docker",
        &["build", "-f", &dockerfile, "-t", IMAGE_NAME, "docker"],
    ).enable_timeout(false)
        .run()
}
pub fn build_container ( docker_env : & str ) -> Result < ( ) > { let dockerfile = format ! ( " " docker_env ) ; RunCommand :: new ( " " , & [ " " , " " , & dockerfile , " " , IMAGE_NAME , " " ] , ) . enable_timeout ( false ) . run ( ) }
Builds the docker container image, 'crater', what will be used
to isolate builds from each other.
Builds the docker container image ' crater ' what will be used to isolate builds from each other .
docker_env
&str