Skip to main content

rust_image

Function rust_image 

Source
pub fn rust_image(rust: &str) -> String
Expand description

The builder image for an exact Rust version: rust:<version>-alpine<ALPINE>.

use majordomus_cli::deploy::render::{rust_image, ALPINE};

assert_eq!(rust_image("1.98.1"), format!("rust:1.98.1-alpine{ALPINE}"));