samples/builders/alpine
Natalie Arellano f208b9c662 Add fixtures for testing phases 1 and 2 of Dockerfiles
Signed-off-by: Natalie Arellano <narellano@vmware.com>
2022-10-12 15:19:53 -04:00
..
README.md Update commands to match pack 0.16.0 2021-01-14 13:21:06 +02:00
builder.toml Add fixtures for testing phases 1 and 2 of Dockerfiles 2022-10-12 15:19:53 -04: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.