Skip to content

Commit

Permalink
Dockerfile: setup ORFS in HOME expected by github runner
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Czarnecki <[email protected]>
  • Loading branch information
lpawelcz committed Feb 13, 2024
1 parent d4764ee commit 78287a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: docker update

on:
workflow_dispatch:
push:

jobs:
docker:
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@ FROM ubuntu:latest
ENV DEBIAN_FRONTEND=noninteractive
# Non-root user setup
ARG USERNAME=root
ARG TESTER_HOME=/root
ARG TESTER_HOME=/github/home

RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install -y sudo git vim wget python-is-python3

# Setup ORFS under ~
RUN mkdir -p $TESTER_HOME
WORKDIR $TESTER_HOME
RUN git clone --recursive https://github.com/The-OpenROAD-Project/OpenROAD-flow-scripts
WORKDIR OpenROAD-flow-scripts
WORKDIR $TESTER_HOME/OpenROAD-flow-scripts
ENV SUDO_USER=$USERNAME
RUN sudo ./setup.sh
RUN ./build_openroad.sh --local
Expand Down

0 comments on commit 78287a7

Please sign in to comment.