Skip to content

Commit

Permalink
feat(cli): remove container after execution
Browse files Browse the repository at this point in the history
  • Loading branch information
tuler committed Nov 8, 2024
1 parent 2910cbe commit fd9e215
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/healthy-kangaroos-sin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/cli": major
---

remove container after execution
2 changes: 2 additions & 0 deletions apps/cli/src/exec/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const execaDockerFallback = async (
"--workdir",
"/work",
"--interactive",
"--rm",
"--user",
`${userInfo.uid}:${userInfo.gid}`,
];
Expand Down Expand Up @@ -89,6 +90,7 @@ export const spawnSyncDockerFallback = (
"--workdir",
"/work",
"--interactive",
"--rm",
"--user",
`${userInfo.uid}:${userInfo.gid}`,
];
Expand Down

0 comments on commit fd9e215

Please sign in to comment.