Skip to content

Commit

Permalink
build: remove -i flag to docker run to allow command being run withou…
Browse files Browse the repository at this point in the history
…t a TTY

Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Aug 9, 2024
1 parent b9bf7ad commit 09c5667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/wasm.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if (process.argv[2] === '--prebuild') {
}

if (process.argv[2] === '--docker') {
let cmd = `docker run --rm -it --platform=${platform.toString().trim()}`
let cmd = `docker run --rm -t --platform=${platform.toString().trim()}`
if (process.platform === 'linux') {
cmd += ` --user ${process.getuid()}:${process.getegid()}`
}
Expand Down

0 comments on commit 09c5667

Please sign in to comment.