From a5373b836ee1a080b4584409a95697deec367b85 Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Tue, 24 Jun 2025 09:55:29 +0200 Subject: [PATCH] Add build package requirements --- Dockerfile | 28 ++++++++++------------------ Makefile | 2 +- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8858ef1..3670337 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/Makefile b/Makefile index 01c8bc1..123ea11 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ PROVIDER = docker UNAME = ninachloe -IMAGE = orfs_compact +IMAGE = riscvar_docker LABEL = latest .PHONY: build