#!/bin/sh set -eu if [ $(id -u) -ne 0 ]; then echo "This script should be run as root. Aborting..." > /dev/stderr exit 1 fi echo "Updating apt package index..." apt-get update > /dev/null echo "Installing dependencies..." apt-get -q -y -o Dpkg::Use-Pty=0 install python3-pip echo "Installing docker-compose via pip..." pip3 install -q docker-compose echo "Done." exit 0