Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running pnpm build fails #170

Open
guidanoli opened this issue Oct 16, 2024 · 0 comments
Open

Running pnpm build fails #170

guidanoli opened this issue Oct 16, 2024 · 0 comments
Assignees

Comments

@guidanoli
Copy link
Contributor

Ever since we've switched to a more target platform-agnostic approach to our Dockerfile, the pnpm build command (which, in turn, runs cartesi build) has been failing. That's because the Cartesi CLI doesn't specify the target platform when it runs docker buildx build under-the-hood. This is currently being tracked by cartesi/cli#73.

In the meantime, we need to run docker build and cartesi build --from-image separately. This can be achieved with a Makefile target which runs both. Progress can be tracked by an image ID file (see --iidfile option of docker build) and the image.ext2 file under .cartesi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant