forked from jlpteaching/dinocpu-wq22
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.qflow
75 lines (57 loc) · 1.26 KB
/
Dockerfile.qflow
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
FROM ubuntu:18.04
MAINTAINER Jason Lowe-Power <jason@lowepower.com>
# Something requires the timezone to be correctly set
ENV TZ=America/Los_Angeles
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN \
DEBIAN_FRONTEND=noninteractive \
apt-get update -y && \
apt-get install -y \
git \
make \
autoconf \
g++ \
python3 \
python3-tk \
cmake \
tcl-dev \
tk-dev \
libgsl-dev \
tcsh \
yosys
WORKDIR /build
# Install graywolf
RUN \
git clone https://github.com/rubund/graywolf && \
cd graywolf && \
mkdir build && cd build && \
cmake .. && \
make && make install
WORKDIR /build
# Install qrouter
RUN \
git clone git://opencircuitdesign.com/qrouter-1.3 && \
cd qrouter-1.3 && \
./configure && \
make && make install
WORKDIR /build
RUN \
git clone git://opencircuitdesign.com/netgen-1.5 && \
cd netgen-1.5 && \
./configure && \
make && make install
WORKDIR /build
RUN \
git clone git://opencircuitdesign.com/magic-8.1 && \
cd magic-8.1 && \
./configure && \
make && make install
WORKDIR /build
# Install qflow
RUN \
git clone git://opencircuitdesign.com/qflow-1.1 && \
cd qflow-1.1 && \
./configure && \
make && make install
WORKDIR /
RUN rm -rf build