MCPcopy Create free account
hub / github.com/devcontainers/cli / getDockerfilePath

Function getDockerfilePath

src/spec-configuration/configuration.ts:225–227  ·  view source on GitHub ↗
(cliHost: { platform: NodeJS.Platform }, config: DevContainerFromDockerfileConfig)

Source from the content-addressed store, hash-verified

223}
224
225export function getDockerfilePath(cliHost: { platform: NodeJS.Platform }, config: DevContainerFromDockerfileConfig) {
226 return getConfigFilePath(cliHost, config, getDockerfile(config));
227}
228
229export function getDockerfile(config: DevContainerFromDockerfileConfig) {
230 return 'dockerFile' in config ? config.dockerFile : config.build.dockerfile;

Callers 3

getDockerContextPathFunction · 0.90
getImageBuildInfoFunction · 0.90
buildAndExtendImageFunction · 0.85

Calls 2

getConfigFilePathFunction · 0.85
getDockerfileFunction · 0.85

Tested by

no test coverage detected