MCPcopy Create free account
hub / github.com/vercel/vercel / isBuildContainer

Function isBuildContainer

packages/container/src/util.ts:268–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 * `vercel build`. `VERCEL_BUILD_IMAGE` is set only on Vercel's build image.
267 */
268export function isBuildContainer(): boolean {
269 return Boolean(readString(process.env.VERCEL_BUILD_IMAGE));
270}
271
272/**
273 * Locate a pre-existing container registry auth file, if any. The build

Callers 8

selectStorageDriverFunction · 0.90
buildahStorageArgsFunction · 0.90
prepareCacheFunction · 0.90
ensureReadyFunction · 0.90
selectContainerEngineFunction · 0.90
withManagedDaemonFunction · 0.90
ensureReadyFunction · 0.90

Calls 1

readStringFunction · 0.70

Tested by

no test coverage detected