Skip to content

Commit 96cd59d

Browse files
committed
Revert experimental changes
1 parent cfd4b3f commit 96cd59d

3 files changed

Lines changed: 3 additions & 11 deletions

File tree

Dockerfile.loader

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,5 @@ RUN /bin/bash -c "source /mnt/tools/scripts/getdata.sh"
1717

1818
EXPOSE 9200
1919
EXPOSE 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

Dockerfile.pelias-data-container-base

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Dockerfile which provides the search engine with data indexing tools
22

3-
FROM debian:bullseye-slim
3+
FROM debian:buster-slim
44

55
RUN mkdir -p /mnt/tools/scripts
66
ADD 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
1717
ADD config/elasticsearch.yml /etc/elasticsearch/
18-
RUN mkdir -p /etc/elasticsearch/jvm.options.d
19-
ADD config/custom.options /etc/elasticsearch/jvm.options.d/
2018
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu
2119

2220
RUN 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
2824
ADD pelias.json /root/pelias.json
2925
RUN mkdir -p /mnt/data
3026

3127
RUN 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

config/custom.options

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)