1 Star 0 Fork 1

xb/esn-elasticsearch-dockerfile

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Dockerfile 826 Bytes
一键复制 编辑 原始数据 按行查看 历史
#
# docker build -t linagora/esn-elasticsearch .
#
# Docker container with configured elasticsearch for ESN
#
FROM elasticsearch:2.2.1
RUN apt-get update \
&& apt-get install -y git \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /opt/openpaas
RUN git clone https://ci.open-paas.org/stash/scm/or/esn-elasticsearch-configuration.git config
RUN git clone https://github.com/vishnubob/wait-for-it.git wait-for-it
COPY config /usr/share/elasticsearch/config
COPY ./docker-entrypoint.sh /
COPY ./scripts/start.sh /usr/bin/start.sh
COPY ./scripts/init-openpaas.sh /usr/bin/init-openpaas.sh
RUN chmod +x /usr/bin/init-openpaas.sh
RUN cp /opt/openpaas/wait-for-it/wait-for-it.sh /usr/bin/wait-for-it.sh
RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
USER elasticsearch
CMD ["sh", "/usr/bin/start.sh"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tensor-core/esn-elasticsearch-dockerfile.git
git@gitee.com:tensor-core/esn-elasticsearch-dockerfile.git
tensor-core
esn-elasticsearch-dockerfile
esn-elasticsearch-dockerfile
master

搜索帮助