forked from OpenAtomFoundation/pika
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (28 loc) · 950 Bytes
/
Dockerfile
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
FROM centos:centos7
MAINTAINER left2right <[email protected]>
RUN rpm -ivh https://mirrors.ustc.edu.cn/epel/epel-release-latest-7.noarch.rpm && \
yum -y makecache && \
yum -y install snappy-devel && \
yum -y install protobuf-devel && \
yum -y install gflags-devel && \
yum -y install glog-devel && \
yum -y install bzip2-devel && \
yum -y install zlib-devel && \
yum -y install lz4-devel && \
yum -y install libzstd-devel && \
yum -y install gcc-c++ && \
yum -y install make && \
yum -y install which && \
yum -y install git && \
make && \
cp -r ${PIKA_BUILD_DIR}/output ${PIKA} && \
yum -y remove gcc-c++ && \
yum -y remove make && \
yum -y remove which && \
yum -y remove git && \
yum -y clean all && \
rm -rf /var/cache/yum && \
rm -rf .git && \
rm -rf ${PIKA_BUILD_DIR}
WORKDIR ${PIKA}
CMD ["sh", "-c", "${PIKA}/bin/pika -c ${PIKA}/conf/pika.conf"]