From 2635dff626b8355932de9b7dc7452027c1500e6f Mon Sep 17 00:00:00 2001 From: Mario Romero Date: Sun, 29 Jan 2023 01:55:50 -0300 Subject: [PATCH] Add docker dev enviroment --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..58d5213 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +# RVSCC developer enviroment +FROM alpine +MAINTAINER Mario Romero + +# Install packages +RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \ + && apk update \ + && apk add wget git make cmake gcc-riscv-none-elf newlib-riscv-none-elf verilator vim + +# Copy RISC-V repository into container +COPY . /root + +# Initialize the enviroment +WORKDIR /root +CMD ["/bin/sh"]