20 lines
719 B
Docker
20 lines
719 B
Docker
# Use Ubuntu 24.04 Linux as the base image
|
|
FROM ubuntu:latest
|
|
|
|
# Install dependencies
|
|
RUN apt update && apt upgrade -y
|
|
|
|
# Preparations for base jobs
|
|
RUN apt install -y wget unzip git
|
|
RUN apt install -y gcc g++ make clang cmake bison build-essential flex lld
|
|
RUN apt install -y python3-full python3-tk python3-pip python3-venv
|
|
RUN apt install -y yosys yosys-dev libeigen3-dev iverilog autoconf gperf
|
|
RUN apt install -y libreadline-dev gawk tcl-dev libffi-dev help2man
|
|
RUN apt install -y graphiz xdot pkg-config zlib1g-dev swig libelf-dev srecord
|
|
RUN apt install -y libboost-system-dev libboost-all-dev libboost-python-dev libboost-filesystem-dev
|
|
RUN apt install -y verilator
|
|
|
|
# Preparations for build jobs
|
|
|
|
CMD ["bash"]
|