Add docker dev enviroment

This commit is contained in:
Mario Romero 2023-01-29 01:55:50 -03:00
parent 0c2ada7965
commit 2635dff626

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
# RVSCC developer enviroment
FROM alpine
MAINTAINER Mario Romero <mario@1159.cl>
# 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"]