DefaultContainerConfig
class DefaultContainerConfig(val adapterConfig: InputStream? = null, val beforeScript: InputStream? = null, val extraFiles: Map<String, InputStream> = mutableMapOf(), val baseImage: String = DEFAULT_BASE_IMAGE) : LiberatorContainerExtension.ContainerConfig(source)
A ContainerConfig that builds a Liberator image from the bundled Dockerfile and generates a fresh RSA KeyMaster key pair, deploying the public key into the container.
Parameters
adapterConfig
optional adapter configuration copied to /app/adapter.conf.
beforeScript
optional script copied to /app/beforeScript.sh and run before startup.
extraFiles
additional files to copy into the container, keyed by destination path.
baseImage
the base Docker image the Liberator image is built from.
Constructors
Link copied to clipboard
constructor(adapterConfig: InputStream? = null, beforeScript: InputStream? = null, extraFiles: Map<String, InputStream> = mutableMapOf(), baseImage: String = DEFAULT_BASE_IMAGE)