docs: cleanup builder docs a little

This commit is contained in:
Jose Diaz-Gonzalez
2022-11-24 14:46:51 -05:00
parent 25beb2af13
commit beb8dff68c
3 changed files with 51 additions and 36 deletions

View File

@@ -2,6 +2,11 @@
> New as of 0.22.0 > New as of 0.22.0
```
builder-pack:report [<app>] [<flag>] # Displays a builder-pack report for one or more apps
builder-pack:set <app> <key> (<value>) # Set or clear a builder-pack property for an app
```
``` ```
buildpacks:set-property [--global|<app>] <key> <value> # Set or clear a buildpacks property for an app buildpacks:set-property [--global|<app>] <key> <value> # Set or clear a buildpacks property for an app
``` ```
@@ -89,17 +94,17 @@ dokku builder-pack:report
``` ```
=====> node-js-app builder-pack information =====> node-js-app builder-pack information
Builder-pack computed projecttoml path: project2.toml Builder pack computed projecttoml path: project2.toml
Builder-pack global projecttoml path: project.toml Builder pack global projecttoml path: project.toml
Builder-pack projecttoml path: project2.toml Builder pack projecttoml path: project2.toml
=====> python-sample builder-pack information =====> python-sample builder-pack information
Builder-pack computed projecttoml path: project.toml Builder pack computed projecttoml path: project.toml
Builder-pack global projecttoml path: project.toml Builder pack global projecttoml path: project.toml
Builder-pack projecttoml path: Builder pack projecttoml path:
=====> ruby-sample builder-pack information =====> ruby-sample builder-pack information
Builder-pack computed projecttoml path: project.toml Builder pack computed projecttoml path: project.toml
Builder-pack global projecttoml path: project.json Builder pack global projecttoml path: project.json
Builder-pack projecttoml path: Builder pack projecttoml path:
``` ```
You can run the command for a specific app also. You can run the command for a specific app also.
@@ -110,9 +115,9 @@ dokku builder-pack:report node-js-app
``` ```
=====> node-js-app builder-pack information =====> node-js-app builder-pack information
Builder-pack computed projecttoml path: project2.toml Builder pack computed projecttoml path: project2.toml
Builder-pack global projecttoml path: project.toml Builder pack global projecttoml path: project.toml
Builder-pack projecttoml path: project2.toml Builder pack projecttoml path: project2.toml
``` ```
You can pass flags which will output only the value of the specific information you want. For example: You can pass flags which will output only the value of the specific information you want. For example:

View File

@@ -2,6 +2,11 @@
> New as of 0.3.15 > New as of 0.3.15
```
builder-dockerfile:report [<app>] [<flag>] # Displays a builder-dockerfile report for one or more apps
builder-dockerfile:set <app> <key> (<value>) # Set or clear a builder-dockerfile property for an app
```
While Dokku normally defaults to using [Heroku buildpacks](https://devcenter.heroku.com/articles/buildpacks) for deployment, you can also use Docker's native `Dockerfile` system to define a container. While Dokku normally defaults to using [Heroku buildpacks](https://devcenter.heroku.com/articles/buildpacks) for deployment, you can also use Docker's native `Dockerfile` system to define a container.
> Dockerfile support is considered a *power user* feature. By using Dockerfile-based deployment, you agree that you will not have the same comfort as that enjoyed by buildpack users, and Dokku features may work differently. Differences between the two systems will be documented here. > Dockerfile support is considered a *power user* feature. By using Dockerfile-based deployment, you agree that you will not have the same comfort as that enjoyed by buildpack users, and Dokku features may work differently. Differences between the two systems will be documented here.
@@ -67,17 +72,17 @@ dokku builder-dockerfile:report
``` ```
=====> node-js-app builder-dockerfile information =====> node-js-app builder-dockerfile information
Builder-dockerfile computed dockerfile path: Dockerfile2 Builder dockerfile computed dockerfile path: Dockerfile2
Builder-dockerfile global dockerfile path: Dockerfile Builder dockerfile global dockerfile path: Dockerfile
Builder-dockerfile dockerfile path: Dockerfile2 Builder dockerfile dockerfile path: Dockerfile2
=====> python-sample builder-dockerfile information =====> python-sample builder-dockerfile information
Builder-dockerfile computed dockerfile path: Dockerfile Builder dockerfile computed dockerfile path: Dockerfile
Builder-dockerfile global dockerfile path: Dockerfile Builder dockerfile global dockerfile path: Dockerfile
Builder-dockerfile dockerfile path: Builder dockerfile dockerfile path:
=====> ruby-sample builder-dockerfile information =====> ruby-sample builder-dockerfile information
Builder-dockerfile computed dockerfile path: Dockerfile Builder dockerfile computed dockerfile path: Dockerfile
Builder-dockerfile global dockerfile path: Dockerfile Builder dockerfile global dockerfile path: Dockerfile
Builder-dockerfile dockerfile path: Builder dockerfile dockerfile path:
``` ```
You can run the command for a specific app also. You can run the command for a specific app also.
@@ -88,9 +93,9 @@ dokku builder-dockerfile:report node-js-app
``` ```
=====> node-js-app builder-dockerfile information =====> node-js-app builder-dockerfile information
Builder-dockerfile computed dockerfile path: Dockerfile2 Builder dockerfile computed dockerfile path: Dockerfile2
Builder-dockerfile global dockerfile path: Dockerfile Builder dockerfile global dockerfile path: Dockerfile
Builder-dockerfile dockerfile path: Dockerfile2 Builder dockerfile dockerfile path: Dockerfile2
``` ```
You can pass flags which will output only the value of the specific information you want. For example: You can pass flags which will output only the value of the specific information you want. For example:

View File

@@ -2,6 +2,11 @@
> New as of 0.28.0 > New as of 0.28.0
```
builder-lambda:report [<app>] [<flag>] # Displays a builder-lambda report for one or more apps
builder-lambda:set <app> <key> (<value>) # Set or clear a builder-lambda property for an app
```
The `lambda` builder builds AWS Lambda functions in an environment simulating AWS Lambda runtimes via [lambda-builder](https://github.com/dokku/lambda-builder). Apps built via this builder can run natively in Dokku and may also have their artifacts scheduled to Lambda via an appropriate scheduler. The `lambda` builder builds AWS Lambda functions in an environment simulating AWS Lambda runtimes via [lambda-builder](https://github.com/dokku/lambda-builder). Apps built via this builder can run natively in Dokku and may also have their artifacts scheduled to Lambda via an appropriate scheduler.
## Usage ## Usage
@@ -70,17 +75,17 @@ dokku builder-lambda:report
``` ```
=====> node-js-app builder-lambda information =====> node-js-app builder-lambda information
Builder-lambda computed lambdayml path: lambda2.yml Builder lambda computed lambdayml path: lambda2.yml
Builder-lambda global lambdayml path: lambda.yml Builder lambda global lambdayml path: lambda.yml
Builder-lambda lambdayml path: lambda2.yml Builder lambda lambdayml path: lambda2.yml
=====> python-sample builder-lambda information =====> python-sample builder-lambda information
Builder-lambda computed lambdayml path: lambda.yml Builder lambda computed lambdayml path: lambda.yml
Builder-lambda global lambdayml path: lambda.yml Builder lambda global lambdayml path: lambda.yml
Builder-lambda lambdayml path: Builder lambda lambdayml path:
=====> ruby-sample builder-lambda information =====> ruby-sample builder-lambda information
Builder-lambda computed lambdayml path: lambda.yml Builder lambda computed lambdayml path: lambda.yml
Builder-lambda global lambdayml path: lambda.yml Builder lambda global lambdayml path: lambda.yml
Builder-lambda lambdayml path: Builder lambda lambdayml path:
``` ```
You can run the command for a specific app also. You can run the command for a specific app also.
@@ -91,9 +96,9 @@ dokku builder-lambda:report node-js-app
``` ```
=====> node-js-app builder-lambda information =====> node-js-app builder-lambda information
Builder-lambda computed lambdayml path: lambda2.yml Builder lambda computed lambdayml path: lambda2.yml
Builder-lambda global lambdayml path: lambda.yml Builder lambda global lambdayml path: lambda.yml
Builder-lambda lambdayml path: lambda2.yml Builder lambda lambdayml path: lambda2.yml
``` ```
You can pass flags which will output only the value of the specific information you want. For example: You can pass flags which will output only the value of the specific information you want. For example: