1 Star 0 Fork 0

pengd/pika

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 1.08 KB
一键复制 编辑 原始数据 按行查看 历史
kernelai 提交于 2020-06-17 09:41 . bugfix: docker build fail in docker hub
FROM centos:7
LABEL maintainer="SvenDowideit@home.org.au, zhangshaomin_1990@126.com"
ENV PIKA /pika
ENV PIKA_BUILD_DIR /tmp/pika
ENV PATH ${PIKA}:${PIKA}/bin:${PATH}
COPY . ${PIKA_BUILD_DIR}
WORKDIR ${PIKA_BUILD_DIR}
RUN rpm -ivh https://mirrors.aliyun.com/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} && \
cp -r ${PIKA_BUILD_DIR}/entrypoint.sh ${PIKA} && \
yum -y remove gcc-c++ && \
yum -y remove make && \
yum -y remove which && \
yum -y remove git && \
yum -y clean all
WORKDIR ${PIKA}
ENTRYPOINT ["/pika/entrypoint.sh"]
CMD ["/pika/bin/pika", "-c", "/pika/conf/pika.conf"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/peng_d/pika.git
git@gitee.com:peng_d/pika.git
peng_d
pika
pika
master

搜索帮助