Add build package requirements
This commit is contained in:
parent
4aa2107075
commit
a5373b836e
28
Dockerfile
28
Dockerfile
|
@ -1,26 +1,18 @@
|
||||||
# Use Alpine Linux as the base image
|
# Use Ubuntu 24.04 Linux as the base image
|
||||||
FROM ubuntu:latest
|
FROM ubuntu:latest
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apt update && apt upgrade -y
|
RUN apt update && apt upgrade -y
|
||||||
RUN apt install -y git wget bash sudo
|
|
||||||
|
|
||||||
# Setup user
|
# Preparations for base jobs
|
||||||
RUN useradd -m -p "" openroad
|
RUN apt install -y verilator wget unzip git
|
||||||
RUN usermod -aG sudo openroad
|
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
|
# Preparations for build jobs
|
||||||
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
|
|
||||||
|
|
||||||
CMD ["bash"]
|
CMD ["bash"]
|
||||||
|
|
Loading…
Reference in New Issue