Skip to content

Commit

Permalink
feat(cli): stop using bsdtar
Browse files Browse the repository at this point in the history
it was used before because of Unicode issues, but that was solved after
the latest cartesi/sdk:0.6.1 release that uses most recent version of
cartesi/xgenext2fs:1.5.6
  • Loading branch information
endersonmaia committed May 2, 2024
1 parent bf09ccb commit ad7ec88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/stupid-nails-happen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/cli": patch
---

stop using bsdtar
8 changes: 1 addition & 7 deletions apps/cli/src/commands/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,7 @@ Update your application Dockerfile using one of the templates at https://github.
"crane",
"export",
"-", // OCI Image from stdin
"-", // rootfs tarball to stdout
"|",
"bsdtar",
"-cf",
"/tmp/output",
"--format=gnutar",
"@/dev/stdin", // rootfs tarball from stdin
"/tmp/output", // rootfs tarball
];
return ["/usr/bin/env", "bash", "-c", cmd.join(" ")];
}
Expand Down

0 comments on commit ad7ec88

Please sign in to comment.