samples/builders/alpine
David Freilich 814b1f2581 Update commands to match pack 0.16.0
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>
2021-01-14 13:21:06 +02:00
..
README.md Update commands to match pack 0.16.0 2021-01-14 13:21:06 +02:00
builder.toml Change builder and package usages of image to docker uris 2020-11-11 11:57:11 -05:00

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.