-
Notifications
You must be signed in to change notification settings - Fork 35
/
Dockerfile.ravenoc
24 lines (24 loc) · 1.04 KB
/
Dockerfile.ravenoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:20.04
LABEL author="Anderson Ignacio da Silva"
LABEL maintainer="[email protected]"
ENV TZ=Europe/Dublin
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN apt-get update && apt-get upgrade -y
RUN apt install software-properties-common -y
#RUN add-apt-repository ppa:deadsnakes/ppa
#RUN apt install python3.9 -y
RUN apt-get install python3.9 python3.9-dev python3.9-distutils make g++ \
perl autoconf flex bison libfl2 libfl-dev zlibc \
zlib1g zlib1g-dev git file gcc \
make time wget zip python3-pip -y
# [Verilator]
RUN git clone https://github.com/verilator/verilator
WORKDIR /verilator
RUN export VERILATOR_ROOT=/verilator
RUN git checkout v4.106 # Update latest stable
RUN autoconf # Create ./configure script
RUN ./configure # Configure and create Makefile
RUN make -j4 # Build Verilator itself (if error, try just 'make')
RUN make install
# [Python]
RUN pip install tox