Skip to content
Snippets Groups Projects
Commit 29535350 authored by Jan David Mol's avatar Jan David Mol
Browse files

Ubuntu images run as root by default, so no need for sudo, which isn't installed either.

parent d28a4678
No related branches found
No related tags found
1 merge request!7Resolve #2021 "03 16 branched from master elk stack"
FROM ubuntu:20.04 FROM ubuntu:20.04
# Expand VM settings as required by ELK # Expand VM settings as required by ELK
CMD bash -c "if test $(sysctl -n vm.max_map_count) -lt 262144; then sudo sysctl -w vm.max_map_count=262144; fi" CMD bash -c "if test $(sysctl -n vm.max_map_count) -lt 262144; then sysctl -w vm.max_map_count=262144; fi"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment