Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 1 KB

README.md

File metadata and controls

29 lines (23 loc) · 1 KB

riscv-docs-docker

A docker container for building RISC-V documentation.

This docker image is based on Ubuntu and is intended to help build RISC-V documentation, specifically tested with the docs-templates.

Build an image from the Dockerfile

$> git clone [email protected]:riscv-software-src/riscv-docs-docker.git
$> cd riscv-docs-docker
$> docker build -t riscvintl/rv-docs .

Run the container

$> cd my/working/dir
$> docker run --rm -u 1000 -t -i -v "$(pwd):/home/dockeruser/workspace" --net=host riscvintl/rv-docs /bin/bash 

Build docs-templates

[dockeruser@rv-docs] workspace # git clone https://github.com/riscv/docs-templates.git  
[dockeruser@rv-docs] workspace # cd docs-templates  
[dockeruser@rv-docs] workspace # make

Caveats

Tested on Ubuntu 20.04 and macOS Monterey (Intel).

Dockerfile created by an aging engineer bereft of coding acumine.