Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

:sparkles: Add support to install Docker

Benoît de Biolley7cf713848294
diff --git a/app/Actions/Server/InstallDocker.php b/app/Actions/Server/InstallDocker.php
index 2e08ec6ad9..2f01ecee2f 100644
--- a/app/Actions/Server/InstallDocker.php
+++ b/app/Actions/Server/InstallDocker.php
@@ -79,6 +79,15 @@ class InstallDocker
$command = $command->merge([$this->getSuseDockerInstallCommand()]);
} elseif ($supported_os_type->contains('arch')) {
$command = $command->merge([$this->getArchDockerInstallCommand()]);
+ } elseif ($supported_os_type->contains('alpine')) {
+ $command = $command->merge([
+ "echo 'Installing Prerequisites...'",
+ 'zypper update -y',
+ 'command -v curl >/dev/null || apk add curl',
+ 'command -v wget >/dev/null || apk add wget',
+ 'command -v git >/dev/null || apk add git',
+ 'command -v jq >/dev/null || apk add jq',
+ ]);
} else {
$command = $command->merge([$this->getGenericDockerInstallCommand()]);
}