From de5ce9fc9ccc532927661d96b1f961b956954058 Mon Sep 17 00:00:00 2001 From: Taylor Hornby Date: Tue, 8 Oct 2019 13:33:36 -0600 Subject: [PATCH] Add debugging tools and enable core dumps. --- docker/install-basics.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/install-basics.sh b/docker/install-basics.sh index 460dc8c..49f2587 100755 --- a/docker/install-basics.sh +++ b/docker/install-basics.sh @@ -7,3 +7,9 @@ sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list apt-get update apt-get -y upgrade apt-get install -y software-properties-common curl git htop man unzip vim wget ack net-tools +# Debugging tools +apt-get install -y gdb strace tcpdump linux-perf xxd bsdmainutils + +# Shell customizations. +# Enable core dumps. +echo "ulimit -c unlimited" >> /root/.bashrc