Skip to content

A Dockerfile for the tools needed to develop for the RISC-V open-source CPU

License

Notifications You must be signed in to change notification settings

remz1337/docker-riscv

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 

Repository files navigation

RISC-V Dockerfile (Development Branch)

This repository contains a Dockerfile of remz1337/docker-riscv for Docker's Hub published to the public Docker Hub Registry.

Information

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

https://github.com/riscv

and include an ISA simulator (Spike), a GCC toolchain for the RISC-V ISA.

Getting Started

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.

  1. Install docker on your client.
  2. docker pull remz1337/docker-riscv
  3. docker run -it remz1337/docker-riscv
  4. test the riscv compiler:
riscv64-unknown-elf-gcc -o hello hello.c
  1. test the spike simulator:
spike pk hello

Notes

  1. Note this Dockerfile does not run through the automated build process because it exceeds the two hour build limit.

About

A Dockerfile for the tools needed to develop for the RISC-V open-source CPU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Dockerfile 100.0%