Merge pull request #7282 from dokku/skip-keyfile
Skip ssh key setup when starting docker image
This commit is contained in:
@@ -89,6 +89,9 @@ main() {
|
|||||||
dokku --quiet domains:set-global "$DOKKU_HOSTNAME"
|
dokku --quiet domains:set-global "$DOKKU_HOSTNAME"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "dokku dokku/skip_key_file boolean true" | debconf-set-selections
|
||||||
|
echo "dokku dokku/key_file string /root/.ssh/id_rsa.pub" | debconf-set-selections
|
||||||
|
|
||||||
NGINX_ROOT="/etc/nginx"
|
NGINX_ROOT="/etc/nginx"
|
||||||
if [[ -x /usr/bin/openresty ]]; then
|
if [[ -x /usr/bin/openresty ]]; then
|
||||||
NGINX_ROOT="/usr/local/openresty/nginx/conf"
|
NGINX_ROOT="/usr/local/openresty/nginx/conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user