mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-19 19:18:10 +01:00
Update Dockerfile
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
FROM bitnami/elasticsearch:latest
|
||||
FROM elasticsearch:6.8.20
|
||||
|
||||
# Increase ram available
|
||||
RUN sed -i "1a sysctl -w vm.max_map_count=262144 || true" /usr/local/bin/docker-entrypoint.sh
|
||||
RUN echo "vm.max_map_count=262144" > /etc/sysctl.d/60-elasticsearch.conf
|
||||
#RUN sed -i "1a sysctl -w vm.max_map_count=262144 || true" /usr/local/bin/docker-entrypoint.sh
|
||||
#RUN echo "vm.max_map_count=262144" > /etc/sysctl.d/60-elasticsearch.conf
|
||||
|
||||
### LABELS
|
||||
ARG BUILD_ARCH
|
||||
|
||||
Reference in New Issue
Block a user