Jose Diaz-Gonzalez
451abcf8f3
feat: add initial support for cloud native buildpacks
...
This change adds a new builder - builder-cnb - via the 'DOKKU_CNB_EXPERIMENTAL' environment variable. While support for customizing pack builds is not currently implemented and there may be other missing functionality, this initial implementation allows folks to start playing with CNB.
Future releases of Dokku will provide tighter CNB integration and eventually switch to CNB for default building, as well as allow users to better select builders needed for their applications.
All new code for CNB support should be considered experimental and subject to change as the support evolves over time.
2020-12-01 14:50:27 -05:00
Richard Willis
26e77a693a
Update plugin-creation.md
...
Add info on using plugin triggers instead of sourcing plugin functions
2020-11-09 08:42:59 +00:00
Jose Diaz-Gonzalez
e67b96780d
refactor: unify command declaration across codebase
2020-02-10 01:40:30 -05:00
Jose Diaz-Gonzalez
1cb586b2e7
refactor: standardize command naming
...
This standardization makes it somewhat easier to read stacktraces as the command names are all uniform, so it will be slightly easier to scan trace output.
2020-02-09 22:41:39 -05:00
Jose Diaz-Gonzalez
44fcea0ffa
refactor: use new-style docker management commands
...
This PR uses the new syntax for commands introduced in Docker 1.13, making it a bit easier to understand just what a particular command is trying to do.
This also pushes the long-form syntax for docker command flags, which are also easier to understand at a glance.
2019-09-15 18:55:53 -04:00
Jose Diaz-Gonzalez
3ca6245b00
fix: use 6 X to support running under busybox
...
mktemp from busybox requires that all templates end with XXXXXX.
2019-08-12 18:16:16 -04:00
Jose Diaz-Gonzalez
925c6c4c28
feat: inject the dokku PID into temporary files/directories
...
This will allow background processes to cleanup these files if they were unable to be cleaned up during a run of the dokku binary, as is the case for files copied by the docker binary when running in docker.
2019-08-12 17:56:17 -04:00
Jose Diaz-Gonzalez
a0b6663bef
docs: correct issue with label change in docs
...
[ci skip]
2019-08-12 16:20:22 -04:00
Jose Diaz-Gonzalez
78a5e4d331
docs: document copying files from images
2019-08-05 11:40:53 -04:00
Jose Diaz-Gonzalez
6836e56b24
refactor: add global docker build and run args
...
This reduces duplication and allows users to rely on global arguments to generate most labels needed.
The 'commit' command cannot have global arguments because the whitespace within the label change breaks string-based interpolation, and shell arrays cannot be exported.
2019-07-20 05:52:20 -04:00
Jose Diaz-Gonzalez
da27ab3d40
docs: cleanup plugin creation docs
...
The plugin creation docs were hard to follow, unnecessarily complicating issues for developers. The new format should make the recommendations clear, and align examples with the core code.
[ci skip]
2019-07-19 15:31:44 -04:00
Jose Diaz-Gonzalez
f39d0fc0cf
docs: correct docs link to work on both site and github
...
[ci skip]
2019-04-17 17:21:45 -04:00
V Anastassiou
c4c7d0d82d
Edits for readability and conciseness
2019-04-17 14:03:48 -07:00
Jose Diaz-Gonzalez
c7b71b5d92
lint: remove unnecessary negation
...
Also use double-brackets where possible.
Fixes SC2236
2019-02-02 13:52:18 -05:00
Jose Diaz-Gonzalez
0ba9393285
docs: use urls that are linkable on github
2017-04-13 23:09:46 -06:00
Kazuhiro NISHIYAMA
a7c6127f2b
Remove duplicated (i.e.
...
[ci skip]
2017-03-22 21:29:21 +09:00
Michael Hobbs
e61475c7ea
add plugin docs regarding compiled languages and command API
2017-03-20 09:15:43 -07:00
Jose Diaz-Gonzalez
2bcad2014b
chore: unify error output when an app is not declared
2017-03-12 21:26:19 -06:00
Jose Diaz-Gonzalez
9951a16ccc
docs: standardize on node-js-app as the app name
...
We’ll probably want to update this to whatever the hip language of the day is, but for now, having the same reference everywhere works.
2016-11-20 15:37:05 -07:00
Jose Diaz-Gonzalez
f26b3f1966
Use correct casing for Dokku name
...
lowercase should only be used to refer to the binary, not the project
2016-09-03 15:51:14 -04:00
Miguel Andrade
89d1997d63
Update plugin-creation.md
...
Add a reminder to set the correct permissions for executable files.
2016-08-04 16:19:20 +01:00
Jose Diaz-Gonzalez
edc0961e19
Fix documentation directory structure
...
Also ensure there is a trailing slash on all urls
2016-07-04 22:59:50 -04:00
Jose Diaz-Gonzalez
8c7a031061
Fix language for plugin.toml
...
[ci skip]
2016-07-04 20:23:15 -04:00
Jose Diaz-Gonzalez
b6f9672d40
Add note to plugin creation regarding calling the binary directly
...
[ci skip]
2016-06-17 23:12:11 -04:00
Justin Clark
14a1d06c03
Collapse help into expandable command topics
2016-03-22 10:50:20 -07:00
Michael Hobbs
42520a6126
remove documentation of old plugin structure
2016-03-08 15:32:20 -05:00
Michael Hobbs
987c5cfb9c
use declare for description variable
2016-03-08 15:30:34 -05:00
Michael S. Hobbs
89f289b433
subcommand restructure and bashstyle refactor. closes #1579
2016-03-03 22:11:35 -08:00
Jose Diaz-Gonzalez
f7d85b41cc
Standardize on "relative" doc links
...
This will allow us to weather any future repository movements
[ci skip]
2016-02-21 03:12:48 -05:00
Michael Hobbs
fdefff329a
[ci skip] docs cleanu
2016-01-05 12:23:29 -08:00
Michael Hobbs
17e7869150
label all dokku containers
2016-01-05 11:55:07 -08:00
Michael Hobbs
8b879079e4
updates for moving of dokku sshcommand and plugn repos
2015-12-17 11:40:32 -08:00
Jose Diaz-Gonzalez
cadba248b6
Fix source paths for common functions
...
[ci skip]
2015-09-15 02:17:28 -07:00
Michael Hobbs
424f9f1e5b
only use plugn when referring to the project or command. otherwise use plugin
2015-09-15 02:17:28 -07:00
Michael Hobbs
18d234a925
move plugin-* to plugin: namespace
2015-09-15 02:17:28 -07:00
Jose Diaz-Gonzalez
aaae9adac3
update last doc references to pluginhook
...
[ci skip]
2015-09-15 02:16:40 -07:00
Jose Diaz-Gonzalez
ad72a137e1
Fix sourcing of functions
2015-09-15 02:16:40 -07:00
Michael Hobbs
37b8ccbe9d
[ci skip] revert another awkward doc change
2015-09-15 02:16:40 -07:00
Michael Hobbs
fcfc02be52
[ci skip] rename plugn-triggers doc file
2015-09-15 02:16:40 -07:00
Michael Hobbs
e2d138f55e
[ci skip] revert awkward doc change
2015-09-15 02:16:40 -07:00
Michael Hobbs
2a4cbc7bee
[ci skip] update docs
2015-09-15 02:16:40 -07:00
Jose Diaz-Gonzalez
95161a2a9f
Use dokku_log_fail in all cases where there is an exit 1
2015-09-04 00:17:45 -04:00
Michael Hobbs
8ea5cfa2aa
document 'public' functions convention
2015-09-03 22:35:38 -04:00
Michael Hobbs
495b1d2ba0
refactor to explicitly set IMAGE via get_app_image_name()
2015-09-03 16:12:36 -07:00
Michael Hobbs
2f16b06a76
[ci skip] fix up docs
2015-09-02 12:22:57 -07:00
Michael Hobbs
d8828c2d25
[ci skip] add documentation note about $IMAGE and get_running_image_tag()
2015-09-02 11:19:20 -07:00
Michael Hobbs
04a4da7fc5
allow tagging and deployment of tagged app images
2015-09-02 11:18:01 -07:00
Jim Myhrberg
9637884861
Update docs with $PLUGIN_PATH instead of $(dirname $0)/..
2015-08-28 14:27:48 +01:00
Randall Leeds
183edc9839
Remove uses of (un)set-norestart
2015-08-24 15:57:34 -07:00
Michael Hobbs
36d607a4f4
[ci skip] update docs
2015-07-28 09:36:42 -07:00