Docker and memory settings

If you encounter this kind of issue

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.

Make sure to provide way more memory for your Docker