-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (26 loc) · 806 Bytes
/
Dockerfile
File metadata and controls
34 lines (26 loc) · 806 Bytes
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
FROM ubuntu:latest
MAINTAINER Adam Bryant <[email protected]>
RUN apt-get update
RUN apt-get install -y python2.7 python2.7-dev libboost1.58-dev cmake g++ git
RUN git clone https://github.com/libuv/libuv /opt/libuv
RUN mkdir /opt/libuv/build
WORKDIR /opt/libuv/build
RUN cmake ..
RUN make install
RUN git clone https://github.com/jbeder/yaml-cpp /opt/yaml-cpp
RUN mkdir /opt/yaml-cpp/build
WORKDIR /opt/yaml-cpp/build
RUN cmake ..
RUN make install
RUN git clone https://github.com/SOCI/soci.git /opt/soci
RUN mkdir /opt/soci/build
RUN apt-get install -y sqlite3 libsqlite3-dev
WORKDIR /opt/soci/build
RUN cmake ..
RUN make install
ADD astron /opt/astron-source
WORKDIR /opt/astron-source/build
RUN cmake ..
RUN make
# make install is currently broken
RUN cp astrond /usr/local/bin/astrond