aboutsummaryrefslogtreecommitdiffstats
path: root/script/bootstrap
blob: 5345b163ee435ebeecd3092b805379a63f3871cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e
cd "$(dirname "$0")/.."

git submodule --quiet update --init --recursive --rebase

# Let's see if we can't work out where we might be running.
if cut -d/ -f2 /proc/self/cgroup | sort -u | grep -q docker ; then
    # Docker
    sudo bin/install_packages docker
else
    # Fallback
    sudo bin/install_packages generic
fi

bin/install_perl_modules