The directory to scan for relevant files
The instance of IUrlFetcher to fetch URLs
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 paths that match a pattern in the project folder.
The glob pattern
Parse a folder by detecting any Dockerfile
and return a SoftwareEnvironment instance
Read a file within the project folder
The path within the folder
Write to a file within the project folder
The path within the folder
The content to write to the file
Generated using TypeDoc
Parser for Dockerfiles
This class implements Dockerfile parsing. It extracts meta-data defined in a Dockerfile using the
LABELor deprecatedMAINTAINERinstructions. Unlike the other parsers in Dockta it does not attempt to parse out dependencies.Here "label" refers to a key in a LABEL instruction that is un-prefixed or has either the
org.opencontainers.imageprefix, or the deprecatedorg.label-schemaprefix. In other words, the following are all equivalent:LABEL version = 1.2.0 LABEL org.opencontainers.image.version = 1.2.0 LABEL org.label-schema.version = 1.2.0The following schema crosswalk defines how labels in Dockerfiles are translated into JSON-LD properties
context:type.property)authorsschema:CreativeWork.authorbuildcreatedschema:SoftwareSourceCode.dateCreateddescriptionschema:Thing.descriptiondocumentationschema:softwareHelplicensesschema:CreativeWork.licensemaintainercodemeta:SoftwareSourceCode.maintainerref-namerevisionschema-versionschema:schemaVersionsourceschema:SoftwareSourceCode.codeRepositorytitleschema:Thing.nameurlschema:Thing.urlvendorschema:Organization.legalNameversionschema:SoftwareApplication.softwareVersion