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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: add wget to nixpacks builds
Andras Bacsaid35cb5d072d5
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 47319ac10f..d2af9d19da 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -1257,6 +1257,15 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted// Do any modifications here$this->generate_env_variables();$merged_envs = $this->env_args->merge(collect(data_get($parsed, 'variables', [])));+ $aptPkgs = data_get($parsed, 'phases.setup.aptPkgs');+ // add curl and wget if not found in the array+ if (!in_array('curl', $aptPkgs)) {+ $aptPkgs[] = 'curl';+ }+ if (!in_array('wget', $aptPkgs)) {+ $aptPkgs[] = 'wget';+ }+ data_set($parsed, 'phases.setup.aptPkgs', $aptPkgs);data_set($parsed, 'variables', $merged_envs->toArray());$this->nixpacks_plan = json_encode($parsed, JSON_PRETTY_PRINT);}