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.

Remove duplicate getArchDockerInstallCommand() method

Andras Bacsai206a9c03d24d
diff --git a/app/Actions/Server/InstallDocker.php b/app/Actions/Server/InstallDocker.php
index 5caae6afcd..c8713a22b5 100644
--- a/app/Actions/Server/InstallDocker.php
+++ b/app/Actions/Server/InstallDocker.php
@@ -148,19 +148,6 @@ class InstallDocker
')';
}
- private function getArchDockerInstallCommand(): string
- {
- return 'pacman -Syyy --noconfirm && '.
- 'pacman -S docker docker-compose --noconfirm && '.
- 'systemctl start docker && '.
- 'systemctl enable docker';
- }
-
- private function getGenericDockerInstallCommand(): string
- {
- return "curl https://releases.rancher.com/install-docker/{$this->dockerVersion}.sh | sh || curl https://get.docker.com | sh -s -- --version {$this->dockerVersion}";
- }
-
private function getArchDockerInstallCommand(): string
{
// Use -Syu to perform full system upgrade before installing Docker
@@ -171,4 +158,9 @@ class InstallDocker
'systemctl enable docker.service && '.
'systemctl start docker.service';
}
+
+ private function getGenericDockerInstallCommand(): string
+ {
+ return "curl https://releases.rancher.com/install-docker/{$this->dockerVersion}.sh | sh || curl https://get.docker.com | sh -s -- --version {$this->dockerVersion}";
+ }
}