pack v0.16.0-rc2
This is a beta pre-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
Linux
Command
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.16.0-rc2/pack-v0.16.0-rc2-linux.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
Manually
- 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:
CLI for building apps using Cloud Native Buildpacks
Usage:
pack [command]
Available Commands:
build Generate app image from source code
builder Interact with builders
buildpack Interact with buildpacks
config Interact with Pack's configuration
rebase Rebase app image with latest run image
stack Displays stack information
inspect-image Show information about a built image
inspect-buildpack Show information about a buildpack
inspect-builder Show information about a builder
completion Outputs completion script location
report Display useful information for reporting an issue
version Show current 'pack' version
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 CLI contain lifecycle v0.9.3 by default.
Changelog
Features
- Add config registries subcommand (#998 by @dfreilich)
- Provide better help text for --volume flag (#986 by @Clivern)
- Add pack config experimental subcommand (#984 by @dfreilich)
- Add pack config default-builder subcommand (#982 by @dfreilich)
- Add run-image-mirrors to config subcommand (#978 by @dfreilich)
- Add multi-tag functionality (#972 by @dwillist)
- Enable caching layers in image registry via
cache-image
flag (#970 by @dwillist) - Add builder subcommand (#965 by @dfreilich)
- Add buildpack subcommand (#962 by @dfreilich)
- Add config trusted-builders subcommands (#959 by @dfreilich)
- Add output flag to
pack inspect-image
(#957 by @dwillist) - Format inspect-builder json output before printing (#953 by @dwillist)
- Add support for fish shell completion (#942 by @jromero)
- Add stack subcommand in place of suggest-stacks (#937 by @anshlykov)
- Add buildpack pull command (#935 by @jkutner)
Bugs
- Further improvement of buildpack URIs support (#979 by @jromero)
- Improve locator type detection (#969 by @jkutner)
Contributors
We'd like to acknowledge that this release wouldn't be as good without the help of the following amazing contributors:
@Clivern, @anshlykov, @dfreilich, @dwillist, @jkutner, @jromero, @natalieparellano, @nkubala, @sabhiram