Skip to content

Commit

Permalink
Update Dockerfile, resolve OpenAtomFoundation#194
Browse files Browse the repository at this point in the history
  • Loading branch information
gaodunqiao committed Nov 2, 2017
1 parent 09d727e commit 89845e7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
FROM centos:latest
MAINTAINER left2right <[email protected]>

RUN yum -y update && \
RUN rpm -ivh https://mirrors.ustc.edu.cn/epel/epel-release-latest-7.noarch.rpm && \
yum -y update && \
yum -y install snappy-devel && \
yum -y install protobuf-devel && \
yum -y install gflags-devel && \
yum -y install glog-devel && \
yum -y install gcc-c++ && \
yum -y install make && \
Expand All @@ -12,7 +14,7 @@ RUN yum -y update && \
ENV PIKA /pika
COPY . ${PIKA}
WORKDIR ${PIKA}
RUN make RPATH=${PIKA}/third/glog/.libs
ENV PATH ${PIKA}/output/bin:${PATH}
RUN make
ENV PATH ${PIKA}/output/bin:${PATH}

WORKDIR ${PIKA}/output

0 comments on commit 89845e7

Please sign in to comment.