testcontainers-build 0.1.0

Build Testcontainers images from folders, remote contexts, and pluggable Git providers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::path::PathBuf;

/// Select a local folder or remote context.
/// The image backend receives this location.
#[derive(Debug)]
pub enum ContextLocation {
    /// Use an existing local folder.
    /// The provider controls its lifetime.
    Directory(PathBuf),
    /// Use an HTTP(S) context URI.
    /// Docker downloads the context.
    Remote(String),
}