Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drujensen/riscv-ubuntu
Run RISC-V development environment using docker
https://github.com/drujensen/riscv-ubuntu
Last synced: 10 days ago
JSON representation
Run RISC-V development environment using docker
- Host: GitHub
- URL: https://github.com/drujensen/riscv-ubuntu
- Owner: drujensen
- Created: 2023-01-26T01:07:54.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-18T16:44:24.000Z (almost 2 years ago)
- Last Synced: 2024-10-25T01:35:43.872Z (about 2 months ago)
- Language: Vim Script
- Size: 53.7 KB
- Stars: 11
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Run RISC-V Ubuntu using Docker or Docker Compose
This project provides a docker image with tools for RISC-V development.
Some of the languages pre-installed on the image are gcc, go, rust, java, python, nodejs and ruby.
I've also included a desktop environment xfce and epiphany browser (only one I could find that supports riscv64).
## Install
Install Docker Desktop for Mac, Linux or Windows.
## Quick Start using Docker
You can use the pre-built image from docker hub.
```bash
docker run --platform linux/riscv64 -it drujensen/riscv-ubuntu bash
```## Support for VNC
The docker image supports VNC.
```bash
docker run --platform linux/riscv64 -it drujensen/riscv-ubuntu
```You can connect to `vnc://localhost:5900` with a VNC client. The default password is `1234`.
## Using Docker Compose
The docker-compose.yml file is included in the project. You can use it to build the image and run the container.
```bash
git clone https://github.com/drujensen/riscv-ubuntu.git
docker-compose build
docker-compose up
```### Volumes
The workspace directory has a volume mounted to `/workspace` in the container. You can use this to share files between the host and the container.
I have also included my .vimrc file in the project. It has my favorite vim settings. Change this to your own preferences.