Add build package requirements

This commit is contained in:
Yannick Reiß 2025-06-24 09:55:29 +02:00
parent 4aa2107075
commit a5373b836e
2 changed files with 11 additions and 19 deletions

View File

@ -1,26 +1,18 @@
# Use Alpine Linux as the base image
# Use Ubuntu 24.04 Linux as the base image
FROM ubuntu:latest
# Install dependencies
RUN apt update && apt upgrade -y
RUN apt install -y git wget bash sudo
# Setup user
RUN useradd -m -p "" openroad
RUN usermod -aG sudo openroad
# Preparations for base jobs
RUN apt install -y verilator 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
# Install scripts
COPY ./src /home/openroad
RUN chmod 777 /home/openroad/*
# Install tools
RUN /home/openroad/yosys.sh
RUN /home/openroad/openroad.sh
USER openroad
WORKDIR /home/openroad
# Setup orfs
RUN /home/openroad/orfs.sh
# Preparations for build jobs
CMD ["bash"]

View File

@ -1,6 +1,6 @@
PROVIDER = docker
UNAME = ninachloe
IMAGE = orfs_compact
IMAGE = riscvar_docker
LABEL = latest
.PHONY: build