Skip to content

Commit

Permalink
fix(ci): forgot to pass env var
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed Oct 10, 2023
1 parent 4fe7372 commit 0395484
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
// Environment
"DENO_DEPLOYMENT_ID",
"CHROME_BIN",
"IS_DOCKER",
// Cache
"CWD",
"USERPROFILE",
Expand Down
1 change: 1 addition & 0 deletions source/metrics/utils/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export class Browser {
"--window-size=1000,1000",
]
if (env.get("IS_DOCKER")) {
this.log.probe("running in docker, disabling sandbox")
flags.push("--no-sandbox", "--disable-setuid-sandbox", "--disable-dev-shm-usage")
}
return flags
Expand Down

0 comments on commit 0395484

Please sign in to comment.