2019-04-16 21:44:17 -07:00
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd /root/docker
|
|
|
|
|
|
|
|
# Update packages and set up the basics.
|
|
|
|
sed -i 's/# \(.*multiverse$\)/\1/g' /etc/apt/sources.list
|
|
|
|
apt-get update
|
|
|
|
apt-get -y upgrade
|
2019-04-23 15:17:32 -07:00
|
|
|
apt-get install -y software-properties-common curl git htop man unzip vim wget ack net-tools
|
2019-10-08 12:33:36 -07:00
|
|
|
# Debugging tools
|
2019-10-08 13:37:03 -07:00
|
|
|
apt-get install -y gdb strace tcpdump xxd bsdmainutils
|
2019-10-08 12:33:36 -07:00
|
|
|
|
|
|
|
# Shell customizations.
|
|
|
|
# Enable core dumps.
|
|
|
|
echo "ulimit -c unlimited" >> /root/.bashrc
|