Jose Diaz-Gonzalez 8240790381 fix: correct argument handling when setting the --app flag
When setting the `--app` flag, there was a special case for the config plugin. This plugin used to take the `--no-restart` flag as the first argument - and still did until this change - resulting in an invalid call to the plugin subcommands. What is worse is that this functionality carried over to all other plugins as they were rewritten in golang, and thus the issue spread without us knowing.

The fix is to support GNU flag parsing rules, which Golang does not do by default (Because Of Reasons™). Switching to `github.com/spf13/pflag` fixes this issue, and also allows positional arguments to be placed wherever, even in the middle of flags.

Closes #4255
2020-12-20 22:06:33 -05:00
2020-12-15 19:14:31 -05:00
2018-12-29 21:21:17 -05:00
2020-12-04 16:58:45 -05:00
2020-12-12 23:10:21 -05:00
2020-12-15 19:14:31 -05:00
2014-02-03 22:53:56 -08:00
2020-12-15 19:14:31 -05:00

Dokku

Build Status Ubuntu Package Arch Package IRC Network Slack Group Documentation OpenCollective OpenCollective Patreon

Docker powered mini-Heroku. The smallest PaaS implementation you've ever seen.

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

Requirements

A fresh VM running any of the following operating systems:

  • Ubuntu 16.04/18.04/20.04 x64 - Any currently supported release
  • Debian 9+ x64
  • CentOS 7 x64 (experimental)
  • Arch Linux x64 (experimental)

An SSH keypair that can be used for application deployment. If this exists before installation, it will be automatically imported into dokku. Otherwise, you will need to import the keypair manually after installation using dokku ssh-keys:add.

Installation

To install the latest stable release, run the following commands as a user who has access to sudo:

wget https://raw.githubusercontent.com/dokku/dokku/v0.22.2/bootstrap.sh
sudo DOKKU_TAG=v0.22.2 bash bootstrap.sh

You can then proceed to the ip address or domain name associated with your server to complete the web-based installation.

If you wish for a more unattended installation method, see these docs.

Upgrade

View the docs for upgrading from an older version of Dokku.

Documentation

Full documentation - including advanced installation docs - are available online at http://dokku.viewdocs.io/dokku/.

Support

You can use Github Issues, check Troubleshooting in the documentation, or join us on freenode in #dokku.

Contribution

After checking Github Issues, the Troubleshooting Guide or having a chat with us on freenode in #dokku, feel free to fork and create a Pull Request.

While we may not merge your PR as is, they serve to start conversations and improve the general Dokku experience for all users.

License

MIT License © Jeff Lindsay

S
Description
No description provided
Readme MIT
31 MiB
0 Stars 0 Watchers 0 Forks
Languages
Shell 49.9%
Go 47%
Makefile 1.3%
Python 0.7%
HTML 0.3%
Other 0.5%