RVSCC/Dockerfile

17 lines
463 B
Docker
Raw Normal View History

2023-01-29 04:55:50 +00:00
# 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 \
2023-02-19 01:45:48 +00:00
&& apk add build-base wget git make cmake gcc-riscv-none-elf newlib-riscv-none-elf verilator verilator-dev vim
2023-01-29 04:55:50 +00:00
2023-01-30 05:22:59 +00:00
# Clone the repository
2023-01-29 04:55:50 +00:00
WORKDIR /root
2023-02-19 01:45:48 +00:00
COPY . .
2023-01-30 05:22:59 +00:00
# Initialize the enviroment keeping container alive
ENTRYPOINT ["tail"]
CMD ["-f","/dev/null"]