This commit is contained in:
Yannick Reiss
2025-06-24 07:19:48 +02:00
commit 4aa2107075
5 changed files with 104 additions and 0 deletions

26
Dockerfile Normal file
View File

@@ -0,0 +1,26 @@
# Use Alpine 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
# 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
CMD ["bash"]