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
LABEL
or deprecatedMAINTAINER
instructions. 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.image
prefix, or the deprecatedorg.label-schema
prefix. 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.0
The following schema crosswalk defines how labels in Dockerfiles are translated into JSON-LD properties
context:type.property
)authors
schema:CreativeWork.author
build
created
schema:SoftwareSourceCode.dateCreated
description
schema:Thing.description
documentation
schema:softwareHelp
licenses
schema:CreativeWork.license
maintainer
codemeta:SoftwareSourceCode.maintainer
ref-name
revision
schema-version
schema:schemaVersion
source
schema:SoftwareSourceCode.codeRepository
title
schema:Thing.name
url
schema:Thing.url
vendor
schema:Organization.legalName
version
schema:SoftwareApplication.softwareVersion