update pre script

This commit is contained in:
holzi1005 2024-12-08 11:12:45 +01:00
parent 010c06f79f
commit 03241e81ff

View file

@ -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