add elasticsearch-with-ik Dockerfile

This commit is contained in:
root 2019-08-05 17:57:40 +08:00
parent d2a57818db
commit bf9100cadb
5 changed files with 8 additions and 3 deletions

View file

@ -1,4 +1,4 @@
server_version=7.0.1 server_version=7.0.4
base_image=seafileltd/base-mc:18.04 base_image=seafileltd/base-mc:18.04
base_image_squashed=seafileltd/base-mc:18.04-squashed base_image_squashed=seafileltd/base-mc:18.04-squashed

View file

@ -1,7 +1,7 @@
FROM seafileltd/pro-base-mc:18.04 FROM seafileltd/pro-base-mc:18.04
WORKDIR /opt/seafile WORKDIR /opt/seafile
ENV SEAFILE_VERSION=7.0.1 SEAFILE_SERVER=seafile-pro-server ENV SEAFILE_VERSION=7.0.7 SEAFILE_SERVER=seafile-pro-server
RUN mkdir -p /etc/my_init.d RUN mkdir -p /etc/my_init.d

View file

@ -0,0 +1,5 @@
FROM elasticsearch:5.6.16
ADD elasticsearch-analysis-ik-5.6.16.tar /usr/share/elasticsearch/plugins/
RUN chown -R elasticsearch.elasticsearch /usr/share/elasticsearch/plugins/ik

View file

@ -3,7 +3,7 @@ WORKDIR /opt/seafile
RUN mkdir -p /etc/my_init.d RUN mkdir -p /etc/my_init.d
ENV SEAFILE_VERSION=6.3.4 SEAFILE_SERVER=seafile-server ENV SEAFILE_VERSION=7.0.4 SEAFILE_SERVER=seafile-server
RUN mkdir -p /opt/seafile/ && \ RUN mkdir -p /opt/seafile/ && \
curl -sSL -o - https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz \ curl -sSL -o - https://download.seadrive.org/seafile-server_${SEAFILE_VERSION}_x86-64.tar.gz \