-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
52 lines (42 loc) · 1.56 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
47
48
49
50
51
52
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 software-properties-common
RUN add-apt-repository ppa:ubuntu-toolchain-r/test -y
RUN apt-get update
RUN apt-get install -y gcc-11 g++-11
RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100
RUN update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-11 100
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 update
RUN apt-get install -y python3-graph-tool
RUN apt-get -y purge nvidia*
RUN apt remove -y nvidia-*
RUN apt-get -y autoremove
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/2024_ICCAD_Contest_Gate_Sizing_Benchmark.git
WORKDIR /app/2024_ICCAD_Contest_Gate_Sizing_Benchmark/OpenROAD/
RUN ./etc/DependencyInstaller.sh
RUN mkdir build
WORKDIR /app/2024_ICCAD_Contest_Gate_Sizing_Benchmark/OpenROAD/build
RUN cmake ..
RUN make -j 6
WORKDIR /app