forked from ZJULearning/nsg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8d6cee
commit 973bf65
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM ubuntu:16.04 | ||
MAINTAINER Changxu Wang <[email protected]> | ||
|
||
RUN apt-get update -y | ||
RUN apt-get install -y g++ cmake libboost-dev libgoogle-perftools-dev | ||
|
||
COPY . /opt/nsg | ||
|
||
WORKDIR /opt/nsg | ||
|
||
RUN mkdir -p build && cd build && \ | ||
cmake -DCMAKE_BUILD_TYPE=Release .. && \ | ||
make -j $(nproc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters