Class representing the settings for Docker configurations. It includes options for specifying packages, PPAs, and models.
Regular expression for validating params variable names.
Function to check if a given params variable name is valid.
Sets the timezone (see the TZ Identifier here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
Sets if Anaconda3 will be pre-installed in the Image
Conda packages to install when installAnaconda is set to true.
installAnaconda
Example: condaPackages { "base" { // The name of the Anaconda environment "main" = "diffuser" // Package "diffuser" from the "main" channel } }
"base"
"main"
Python packages that will be pre-installed.
A list of packages to be installed in the Docker container.
A list of APT or PPA repos to be added.
A mandatory list of models to be used in the Docker environment.
Sets the Ollama Docker version to be use as the base image
A mapping of build arguments variable name
A mapping of build env variable names that persist in the image and container
Returns the class of this.
this
Returns a string representation of this.
This method is used to convert the values of string interpolation expressions to strings.
Returns this |> transform if this is non-null, and null otherwise.
this |> transform
null
This method is the complement of the ?? operator and the equivalent of an Option type's map and flatMap methods.
??
Option
map
flatMap
Tells if this object has a property with the given name.
name
Returns the value of the property with the given name.
Throws if a property with this name does not exist.
Returns null if a property with this name does not exist.
Converts this object to a Dynamic object.
Dynamic
Converts this object to a Map.
Map
Class representing the settings for Docker configurations. It includes options for specifying packages, PPAs, and models.