Pack v0.16.0 deprecated a number of commands, including `create-builder` and `package-buildpack`. This change replaces references to the deprecated commands with their new equivalent, using the resource based subcommand model. Additionally, this change utilizes the new pack config experimental command to set experimental, rather than echoing it into the file. Signed-off-by: David Freilich <dfreilich@vmware.com> |
||
|---|---|---|
| .. | ||
| README.md | ||
| builder.toml | ||
README.md
Sample Alpine Builder
Usage
Creating the builder
pack builder create cnbs/sample-builder:alpine --config builder.toml
Build app with builder
pack build sample-app --builder cnbs/sample-builder:alpine --path ../../apps/java-maven/
After building the app you should be able to simply run it via docker run -it -p 8080:8080 sample-app.
Go to localhost:8080 to see the app running.