This repository contains a Dockerfile of remz1337/docker-riscv for Docker's Hub published to the public Docker Hub Registry.
This container includes a number of tools and dependencies needed to develop for the RISC-V open-source CPU. Many of these tools can be located at
and include an ISA simulator (Spike), a GCC toolchain for the RISC-V ISA.
The best way to get started is to download the image for this container directly from Doc Hub and then run the container and play inside it. Here are the steps for that.
- Install docker on your client.
- docker pull remz1337/docker-riscv
- docker run -it remz1337/docker-riscv
- test the riscv compiler:
riscv64-unknown-elf-gcc -o hello hello.c
- test the spike simulator:
spike pk hello
- Note this Dockerfile does not run through the automated build process because it exceeds the two hour build limit.