operator-installer/02-install.sh
2026-08-04 01:52:18 +00:00

14 lines
No EOL
471 B
Bash
Executable file

#!/bin/bash -eu
# Run this as your Linux user — NOT as root
# SP must have whitelisted your SSH key before running this
if [ "$EUID" -eq 0 ]; then
echo "Please run this script as your Linux user, not as root"
exit 1
fi
REPO_URL="git@git.simplifiedprivacy.com:Support/operator-docker.git"
echo "=== Cloning operator-docker repo ==="
GIT_SSH_COMMAND='ssh -o StrictHostKeyChecking=no' git clone "$REPO_URL" operator-docker
cd operator-docker
sudo bash install.sh