forked from apache/incubator-pegasus
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: add dockerfile for onebox (apache#138)
Former-commit-id: a31a3e83e189c941165c36870f41d1319f706648 [formerly 662e536] Former-commit-id: bef6a373c059f7801ef42ec61f781c53b4405a51
- Loading branch information
Showing
2 changed files
with
26 additions
and
1 deletion.
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,25 @@ | ||
# This is a docker with all stuff built after compilation. It is a | ||
# large image that's only used for testing. | ||
# | ||
# ```sh | ||
# docker build -t pegasus_onebox . | ||
# docker run -it pegasus_onebox bash | ||
# ``` | ||
|
||
|
||
FROM centos:7 | ||
|
||
MAINTAINER Wu Tao <wutao1@xiaomi.com> | ||
|
||
RUN yum -y install gcc gcc-c++ automake autoconf libtool make cmake git file wget unzip python-devel which && \ | ||
yum -y install openssl-devel boost-devel libaio-devel snappy-devel bzip2-devel readline-devel zlib zlib-devel patch | ||
|
||
RUN git clone --recursive https://github.com/XiaoMi/pegasus.git /pegasus | ||
|
||
RUN cd /pegasus && \ | ||
./run.sh build -c | ||
|
||
RUN yum -y install jre nmap-ncat.x86_64 | ||
|
||
CMD cd /pegasus | ||
|
Submodule rdsn
updated
2 files
+13 −0 | thirdparty/build-thirdparty.sh | |
+7 −0 | thirdparty/download-thirdparty.sh |