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