SIEMbitwardendnscrypthome assistantjellyfinjitsimulti-factor authenticationnextcloudonlyofficepiholeraspberry pirocket.chatsyncthingtorwazuhwireguard
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
769 B
32 lines
769 B
#!/bin/bash |
|
|
|
# Docker |
|
figlet "Mistborn: Installing Docker" |
|
|
|
sudo apt update |
|
sudo -E apt install -y python python3-pip python3-setuptools libffi-dev python3-dev libssl-dev |
|
|
|
# Ubuntu version >= 20.04 |
|
|
|
vercomp "$VERSION_ID" "19.10" |
|
# case $? in |
|
# 0) op='=';; |
|
# 1) op='>';; |
|
# 2) op='<';; |
|
# esac |
|
|
|
if [ "$DISTRO" == "ubuntu" ] && [ "$?" == "1" ]; then |
|
echo "Automated Docker install" |
|
sudo -E apt-get install -y docker-compose |
|
else |
|
echo "Manual Docker installation" |
|
source ./scripts/subinstallers/docker_manual.sh |
|
fi |
|
|
|
# set docker-compose path used in Mistborn |
|
if [ ! -f /usr/local/bin/docker-compose ]; then |
|
sudo -E ln -s $(which docker-compose) /usr/local/bin/docker-compose |
|
fi |
|
|
|
# daemon.json |
|
#source ./scripts/subinstallers/docker_daemon.sh
|
|
|