Containers/Get-CompilerFromContainer.ps1

function Get-CompilerFromContainer
{
    Param(
        [Parameter(Mandatory=$true)]
        [string]$ContainerName
    )

    $VsixPath = Get-VSCodeExtensionFromContainer -sourcePath (New-TempDirectory) -ContainerName $ContainerName
    if (!(Test-path "$VsixPath\Extract")){
        if (!(Test-Path "$VsixPath.zip")) {
            Rename-Item $VsixPath "$VsixPath.zip"
        }
        New-EmptyDirectory "$VsixPath\Extract"
        Expand-Archive -Path "$VsixPath.zip" -DestinationPath "$VsixPath\Extract"
    }
    
    "$VsixPath\Extract\extension\bin\alc.exe"
}
Export-ModuleMember -Function Get-CompilerFromContainer