Manually define the image to inherit FROM
The directory to scan for relevant files
The package that this generator generates a Dockerfile for
The instance of IUrlFetcher to fetch URLs
Does this generator apply to the package?
A Bash command to run to install required apt keys
The Ubuntu system version being used
A list of any required apt packages
The Ubuntu system version being used
A list of any required apt repositories
The Ubuntu system version being used
Generate a base image identifier
Name of the base image
Version of the base image
Get the name of an Ubuntu release
The base image name e.g. ubuntu:18.04
A list of environment variables to set in the image
as name
, value
pairs
The Ubuntu system version being used
Does a path exist within the project folder?
The path within the folder
Fetch content from a URL
The URL to fetch
Request options
Get a list of packages in this.package.softwareRequirements
which have have a particular runtimePlatform
value
Generate a Dockerfile for a SoftwareEnvironment
instance
Should a comments be added to the Dockerfile?
Should relevant Stencila language packages be installed in the image?
Get a list of paths that match a pattern in the project folder.
The glob pattern
The Bash command to run to install required language packages
The Ubuntu system version being used
A list of files that need to be be copied
into the image before running installCommand
The Ubuntu system version being used
An array of [src, dest] tuples
The project's files that should be copied across to the image
The Ubuntu system version being used
An array of [src, dest] tuples
Read a file within the project folder
The path within the folder
The default command to run in containers created from this image
Usually command will a file with a name main
and the extension
of the generator's language e.g. .R
if it exists in the folder.
The Ubuntu system version being used
A Bash command to run to install Stencila execution host package/s
The Ubuntu system version being used
Write to a file within the project folder
The path within the folder
The content to write to the file
Generated using TypeDoc
Generates a Dockerfile for a
SoftwarePackage
instance