-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathDockerfile
46 lines (36 loc) · 1.2 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
FROM ubuntu:22.04
WORKDIR /src
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y gnupg2 ca-certificates
RUN echo "deb [trusted=yes] https://downloads.skewed.de/apt jammy main" >> /etc/apt/sources.list
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key 612DEFB798507F25
RUN apt-get update
RUN apt-get install -y git
RUN apt-get install -y gcc g++
RUN apt-get install -y libpython-all-dev
RUN apt-get install -y libboost-all-dev
RUN apt-get install -y libcairo2
RUN apt-get install -y libcairo2-dev
RUN apt-get install -y python3-matplotlib
RUN apt-get install -y nvidia-cuda-toolkit
RUN apt-get update
RUN apt-get install -y python3-graph-tool
RUN apt-get install -y vim
RUN apt-get install -y python3-pip
RUN pip install --no-cache-dir torch==2.2.0
RUN pip install dgl==2.1.0
RUN pip install pycairo
RUN pip install pandas
RUN pip install scikit-learn
RUN pip install numpy==1.24.4
RUN pip install pydantic
WORKDIR /app
RUN git clone --recursive https://github.com/ASU-VDA-Lab/ASP-DAC24-Tutorial.git
WORKDIR /app/ASP-DAC24-Tutorial/OpenROAD/
RUN ./etc/DependencyInstaller.sh
RUN mkdir build
WORKDIR /app/ASP-DAC24-Tutorial/OpenROAD/build
RUN cmake ..
RUN make -j
WORKDIR /app
COPY . /app