#!/bin/sh
# The Koala benchmark suite installation script
# https://kben.sh
in_container() {
[ -f /proc/1/cgroup ] && grep -qaE 'docker|kubepods|containerd' /proc/1/cgroup && return 0
[ -f /.dockerenv ] && return 0
return 1
}
echo '[*] Cloning the Koala benchmark suite repository...'
git clone --depth 1 https://github.com/kbensh/koala
cd koala || exit 1
echo '[*] All done!'
echo '[*] In the koala folder, run "./main.sh --help" for usage instructions'
echo '[!] Note: Dynamic characterization needs to be run in a container'