Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -1,13 +1,13 @@
|
||||
#!/usr/bin/env node
|
||||
// Asserts that every runtime stage in the root Dockerfile drops to a non-root USER
|
||||
// before its HEALTHCHECK/CMD/ENTRYPOINT directive. Fails the gate if any runtime
|
||||
// stage (web, api, worker) ships as root.
|
||||
// stage covered by this shared Dockerfile ships as root.
|
||||
|
||||
import fs from "node:fs";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
|
||||
const RUNTIME_STAGES = new Set(["web", "api", "worker"]);
|
||||
const RUNTIME_STAGES = new Set(["web", "api", "worker", "portal-domain-controller"]);
|
||||
|
||||
function readDockerfile(rootDir) {
|
||||
return fs.readFileSync(path.join(rootDir, "Dockerfile"), "utf8");
|
||||
|
||||
Reference in new issue
Block a user