mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update Dockerfile
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
FROM elasticsearch:6.8.20
|
||||
|
||||
# Increase ram available
|
||||
RUN sed -i "1a sysctl -w vm.max_map_count=262144" /usr/local/bin/docker-entrypoint.sh
|
||||
#RUN sed -i "1a sysctl -w vm.max_map_count=262144" /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