File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,5 @@ RUN /bin/bash -c "source /mnt/tools/scripts/getdata.sh"
1717
1818EXPOSE 9200
1919EXPOSE 9300
20- ENV ES_JAVA_OPTS="-Xms4g -Xmx4g"
2120
22- CMD sysctl -w vm.max_map_count=262144 && /etc/init.d/elasticsearch start && sleep 10000d
21+ CMD /etc/init.d/elasticsearch start && sleep 10000d
Original file line number Diff line number Diff line change 11# Dockerfile which provides the search engine with data indexing tools
22
3- FROM debian:bullseye -slim
3+ FROM debian:buster -slim
44
55RUN mkdir -p /mnt/tools/scripts
66ADD scripts/* /mnt/tools/scripts/
@@ -15,20 +15,16 @@ RUN curl -sS -O -L --fail https://artifacts.elastic.co/downloads/elasticsearch/e
1515
1616# Finalize elasticsearch installation
1717ADD config/elasticsearch.yml /etc/elasticsearch/
18- RUN mkdir -p /etc/elasticsearch/jvm.options.d
19- ADD config/custom.options /etc/elasticsearch/jvm.options.d/
2018RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu
2119
2220RUN mkdir -p /var/lib/elasticsearch/pelias_data \
2321 && chown -R elasticsearch:elasticsearch /var/lib/elasticsearch/pelias_data
2422
25- RUN chmod -R a+rwX /etc/sysctl.conf && chown -R 9999:9999 /etc/sysctl.conf
26-
2723# Copy pelias config file
2824ADD pelias.json /root/pelias.json
2925RUN mkdir -p /mnt/data
3026
3127RUN chmod -R a+rwX /var/lib/elasticsearch/ \
3228 && chown -R 9999:9999 /var/lib/elasticsearch/
3329
34- ENV ES_HEAP_SIZE 4g
30+ ENV ES_HEAP_SIZE 2g
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments