Types/OpenPackage/get_Dockerfile.ps1
|
<# .SYNOPSIS Gets a package's dockerfile .DESCRIPTION Gets the content of any `Dockerfile`s in the package. #> [OutputType([string])] param() $partPattern = '[/\.]DockerFile$' foreach ($part in $this.GetParts()) { if ($part.Uri -match $partPattern) { $part.Read() } } |