Skip to content

Commit

Permalink
docker: add dockerfile for onebox (apache#138)
Browse files Browse the repository at this point in the history
Former-commit-id: a31a3e83e189c941165c36870f41d1319f706648 [formerly 662e536]
Former-commit-id: bef6a373c059f7801ef42ec61f781c53b4405a51
  • Loading branch information
Wu Tao authored and qinzuoyan committed Jul 20, 2018
1 parent 0ac6726 commit e206c58
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions docker/dev/centos7/Dockerfile
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

2 changes: 1 addition & 1 deletion rdsn

0 comments on commit e206c58

Please sign in to comment.