mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-22 16:14:22 +02:00
Update installation script to include curl and wget
This commit is contained in:
parent
e35b8a0f96
commit
44f6d93639
@ -48,20 +48,19 @@ public function handle(Server $server)
|
|||||||
$command = $command->merge([
|
$command = $command->merge([
|
||||||
"echo 'Installing Prerequisites...'",
|
"echo 'Installing Prerequisites...'",
|
||||||
"command -v jq >/dev/null || apt-get update -y",
|
"command -v jq >/dev/null || apt-get update -y",
|
||||||
"command -v jq >/dev/null || apt install -y jq",
|
"command -v jq >/dev/null || apt install -y curl wget git jq",
|
||||||
|
|
||||||
]);
|
]);
|
||||||
} else if ($supported_os_type->contains('rhel')) {
|
} else if ($supported_os_type->contains('rhel')) {
|
||||||
$command = $command->merge([
|
$command = $command->merge([
|
||||||
"echo 'Installing Prerequisites...'",
|
"echo 'Installing Prerequisites...'",
|
||||||
"command -v jq >/dev/null || dnf update -y",
|
"command -v jq >/dev/null || dnf install -y curl wget git jq",
|
||||||
"command -v jq >/dev/null || dnf install -y jq",
|
|
||||||
]);
|
]);
|
||||||
} else if ($supported_os_type->contains('sles')) {
|
} else if ($supported_os_type->contains('sles')) {
|
||||||
$command = $command->merge([
|
$command = $command->merge([
|
||||||
"echo 'Installing Prerequisites...'",
|
"echo 'Installing Prerequisites...'",
|
||||||
"command -v jq >/dev/null || zypper update -y",
|
"command -v jq >/dev/null || zypper update -y",
|
||||||
"command -v jq >/dev/null || zypper install -y jq",
|
"command -v jq >/dev/null || zypper install -y curl wget git jq",
|
||||||
]);
|
]);
|
||||||
} else {
|
} else {
|
||||||
throw new \Exception('Unsupported OS');
|
throw new \Exception('Unsupported OS');
|
||||||
|
@ -46,7 +46,6 @@ ubuntu | debian | raspbian)
|
|||||||
apt install -y curl wget git jq >/dev/null 2>&1
|
apt install -y curl wget git jq >/dev/null 2>&1
|
||||||
;;
|
;;
|
||||||
centos | fedora | rhel | ol | rocky)
|
centos | fedora | rhel | ol | rocky)
|
||||||
dnf update -y >/dev/null 2>&1
|
|
||||||
dnf install -y curl wget git jq >/dev/null 2>&1
|
dnf install -y curl wget git jq >/dev/null 2>&1
|
||||||
;;
|
;;
|
||||||
sles | opensuse-leap | opensuse-tumbleweed)
|
sles | opensuse-leap | opensuse-tumbleweed)
|
||||||
|
Loading…
Reference in New Issue
Block a user