Open endersonmaia opened 2 months ago
Latest commit: 7fc8c0a8abd46eefa5e9e48641a4cff809891b44
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This will make it possible for Cartesi application developer to create their application Dockerfile without the need to install machine-emulator-tools and its dependencies but just the application code itself.
For ex., the following
Dockerfile
could be used for a javascript application:How to test:
With that, you can build an application with the sample Dockerfile above using
You could also try running with
cartesi-dev --no-backend
and running the application container with docker:Details:
We used
chisel
to make a small runtime image withcrun
and its dependencies.We compiled
crun
ourselves to use the latestcrun
version and remove what we don't need.References: