pack v0.10.0
pack v0.10.0
This is a beta release of the Cloud Native Buildpack local CLI. This platform implementation should be relatively stable and reliable, but breaking changes in the underlying specification may be implemented without notice. Note that pack is intended for local image builds, and thus requires a Docker daemon. The lifecycle should be used directly when building on cloud platforms.
Prerequisites
- The Docker daemon must be installed on your workstation or accessible over the network.
Install
If you're on macOS, you can use Homebrew:
$ brew install buildpacks/tap/pack
Otherwise:
- Download the
.tgz
or.zip
file for your platform - Extract the
pack
binary - (Optional) Add the directory containing
pack
toPATH
, or copypack
to a directory like/usr/local/bin
Run
Run the command pack
.
You should see the following output
Usage:
pack [command]
Available Commands:
build Generate app image from source code
rebase Rebase app image with latest run image
inspect-image Show information about a built image
create-builder Create builder image
package-buildpack Package buildpack in OCI format.
set-run-image-mirrors Set mirrors to other repositories for a given run image
inspect-builder Show information about a builder
set-default-builder Set default builder used by other commands
suggest-builders Display list of recommended builders
suggest-stacks Display list of recommended stacks
version Show current 'pack' version
report Display useful information for reporting an issue
completion Outputs completion script location
help Help about any command
Flags:
-h, --help Help for 'pack'
--no-color Disable color output
-q, --quiet Show less output
--timestamps Enable timestamps in output
-v, --verbose Show more output
--version Show current 'pack' version
Use "pack [command] --help" for more information about a command.
Info
Builders created with this release of the pack
will contain lifecycle v0.7.2 by default.
Features
- Volumes provided via
pack build --volume
are now accessible during phase detect. (#526) pack create-package
can output a.cnb
file via--format=file
. (#536)pack build --buildpack
supports.cnb
file. (#563)pack build
accepts a--default-process
flag to set the default process type on app image. (#546)- Include and exclude feature of the
package.toml
extension is now supported. (#511) - Contents of
builder.toml
forpack create-builder
are now validated. (#510) - Added support for buildpack
homepage
. (#506)
Improvements
pack
binaries are now noticeably smaller. (#527)
Fixes
pack
will pass new flag-run-image
instead ofimage
to the lifecycle as part of Platform API 0.3. (#560)