From 03241e81ffb25479d7a3e66a01426750ef10b71a Mon Sep 17 00:00:00 2001 From: holzi1005 Date: Sun, 8 Dec 2024 11:12:45 +0100 Subject: [PATCH] update pre script --- setup.sh | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/setup.sh b/setup.sh index bc79cdf..01e3a32 100644 --- a/setup.sh +++ b/setup.sh @@ -1,14 +1,23 @@ #!/bin/bash echo "Welcome to the Docker Installer:" -echo "1. The installer will install CURL and GIT" -echo "2. The installer will install Docker and Docker Compose" -echo "3. The installer will clone the Docker-Compose Repository" -echo "4. The installer will setup all scripts, so you can docker-compose up" echo "" -apt update && apt install curl git docker docker-compose -y +echo "1. The installer will update all Repos" +apt update +echo "2. The installer will install CURL and GIT" +apt install curl git -y + +echo "3. The installer will install Docker and Docker Compose" +apt install docker docker-compose -y + +echo "4. The installer will clone the Docker-Compose Repository" +git clone https://git.h2-invent.com/datenschutzcenter/docker-compose.git +cd docker-compose + +echo "5. The installer will setup all scripts, so you can docker-compose up" +echo "" FILE=env.local if [ -f "$FILE" ]; then source $FILE