Skip to content

Commit bbb281d

Browse files
committed
feat(cli): pulling images before starting
1 parent d8798d4 commit bbb281d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.changeset/pink-spies-happen.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cartesi/cli": major
3+
---
4+
5+
pulling images before starting

apps/cli/src/commands/rollups/start.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,12 @@ export const createStartCommand = () => {
259259
stdio: "inherit",
260260
});
261261
} else {
262+
// pull images first
263+
await execa("docker", [...composeArgs, "pull"], {
264+
env,
265+
stdio: "inherit",
266+
});
267+
262268
// run compose environment
263269
const up = execa("docker", [...composeArgs, "up", ...upArgs], {
264270
env,

0 commit comments

Comments
 (0)