pub fn extract_dockerfile_to_temp(
asset_manager: &dyn AssetManager,
dockerfile_name: &str,
) -> Result<PathBuf>Expand description
Extract a dockerfile and its associated files to a temporary directory
This function extracts all files for a given dockerfile to a temporary directory and returns the path to the extracted directory. The caller is responsible for cleaning up the directory when done.
§Arguments
asset_manager- The asset manager to use for retrieving dockerfile filesdockerfile_name- The name of the dockerfile (e.g., “tsk-base”, “tsk-proxy”)
§Returns
The path to the temporary directory containing the extracted dockerfile files