pack v0.0.8
NOTE: This release includes breaking changes for buildpack authors.
Please see the Release Notes for details.
Prerequisites
Install
- Download the
tar.gz
or.zip
file for your platform - Extract the
pack
binary - (Optional) Add the path to the binary to
PATH
, or copy the binary into/usr/local/bin
Run
Run the command pack
.
You should see the following output
Usage:
pack [command]
Available Commands:
add-stack Create a new stack with the provided build and run image(s)
build Create runnable app image from source code using buildpacks
create-builder Compose several buildpacks into a builder image
delete-stack Delete a named stack
help Help about any command
rebase Update an app image to an new underlying stack
run Create and immediately run an app image from source code using buildpacks
set-default-builder Set the default builder used by `pack build`
set-default-stack Set the default stack used by `pack create-builder`
update-stack Update a stack with the provided versions of build and run image(s)
version Display the version of the `pack` tool
Flags:
-h, --help help for pack
Use "pack [command] --help" for more information about a command.
Release Notes
- Breaking: Merge cache and launch layer directories into the same directory (buildpacks/spec#28)
- Breaking: Move build plan to file (pending)
- Breaking: Modify buildpack arguments (buildpacks/spec#29)
- Expose environment variables during detection (buildpacks/spec#27)
- Allow buildpacks to claim entries in build plan (buildpacks/spec#27)
- Switch to tagged images (
:v3alpha2
)
Upcoming Features
- In the next release, builders will encode a default run image. Pack's config.toml will only used to create builders.