mirror of
https://github.com/dokku/dokku.git
synced 2025-12-29 00:25:08 +01:00
I have done the first steps to get dokku running for other distros like openSUSE. I have simply replaced the important places within the core plugins with a check for DOKKU_DISTRO that gets exported by dokku itself. It just replaces the apt-get and service start/restart/reload functionality with the openSUSE counterparts.
16 lines
348 B
Bash
Executable File
16 lines
348 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|
|
|
case "$DOKKU_DISTRO" in
|
|
ubuntu)
|
|
apt-get install -qq -y software-properties-common python-software-properties
|
|
add-apt-repository -y ppa:nginx/stable
|
|
apt-get update
|
|
apt-get install -qq -y nginx dnsutils
|
|
;;
|
|
|
|
opensuse)
|
|
zypper -q in -y nginx bind-utils
|
|
;;
|
|
esac
|