Using a Dockerfile works in a corporate network because the syntax= definition is used correctly. But when using the image directive (because a build with a Dockerfile is not required), Dev Containers use a fallback
|
useBuildKitBuildContexts && !(imageBuildInfo.dockerfile && supportsBuildContexts(imageBuildInfo.dockerfile)) ? '# syntax=docker/dockerfile:1.4' : |
that cannot be resolved properly in our network. Can we do something about this, or do I have to use a Dockerfile?
Using a
Dockerfileworks in a corporate network because thesyntax=definition is used correctly. But when using theimagedirective (because abuildwith aDockerfileis not required), Dev Containers use a fallbackcli/src/spec-node/containerFeatures.ts
Line 262 in 5c9623c
that cannot be resolved properly in our network. Can we do something about this, or do I have to use a
Dockerfile?