(cliHost: { platform: NodeJS.Platform }, config: DevContainerFromDockerfileConfig)
| 485 | } |
| 486 | |
| 487 | export function getDockerContextPath(cliHost: { platform: NodeJS.Platform }, config: DevContainerFromDockerfileConfig) { |
| 488 | const context = 'dockerFile' in config ? config.context : config.build.context; |
| 489 | if (context) { |
| 490 | return getConfigFilePath(cliHost, config, context); |
| 491 | } |
| 492 | return parentURI(getDockerfilePath(cliHost, config)); |
| 493 | } |
| 494 | |
| 495 | export async function createContainerProperties(params: DockerResolverParameters, containerId: string, remoteWorkspaceFolder: string | undefined, remoteUser: string | undefined, rootShellServer?: ShellServer) { |
| 496 | const { common } = params; |
no test coverage detected