The Cartesi Machine Linux Image is the repository that provides the Docker configuration files to build the Linux kernel linux.bin image. This is used to run a Linux environment on the Cartesi Machine Emulator reference implementation. The linux.bin is built from the Linux source, targeting riscv64.
- Docker >= 18.x
- GNU Make >= 3.81
$ make buildIf you want to tag the image with custom name you can do the following:
$ make build TAG=mytagTo remove the generated images from your system, please refer to the Docker documentation.
There is a separate build.mk Makefile that can be used for kernel for development.
$ make -f build.mk clone
$ make -f build.mk run
$ make -f build.mkThere is also a run-selftest target to run the kernel tests.
To use it, run:
$ make -f build.mk run-selftestThe following options are available as make targets:
- build: builds the docker linux-kernel image
- copy: builds the docker linux-kernel image and copy it's artifact to the host
Thank you for your interest in Cartesi! Head over to our Contributing Guidelines for instructions on how to sign our Contributors Agreement and get started with Cartesi!
Please note we have a Code of Conduct, please follow it in all your interactions with the project.
See AUTHORS file.
The image-kernel repository and all contributions are licensed under APACHE 2.0. Please review our LICENSE file.