pack v0.17.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
For instructions on installing pack
, see our installation docs.
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 your local pack config file
stack Interact with stacks
rebase Rebase app image with latest run image
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.10.2 by default.
Changelog
New Artifacts:
- This release contains a new
pack
binary to run onmacos-arm64
architectures.
Features
- Add heroku/buildpacks:20 to suggested builders list (#1052 by @jabrown85)
- Make project.toml buildpack paths relative to project root (#1044 by @dwillist)
- Update project.toml includes and excludes to respect repository root (#1043 by @dwillist)
- Update pack build flags (#1042 by @dfreilich)
- Promote the registry commands out of experimental state (#1040 by @jkutner)
- Add labels to cache volumes (#1039 by @dwillist)
- Log lifecycle arguments (#1038 by @dfreilich)
- Move archive package into public pkg/ directory (#1037 by @dfreilich)
- Bump github.com/buildpacks/lifecycle from 0.10.1 to 0.10.2 (#1036 by @dependabot[bot])
- Output entire SHA256 in quiet mode (#1035 by @dfreilich)
- Add Benchmark tests for Build (#1026 by @dfreilich)
- Add support for RegistryLocator in package-buildpack command (#1012 by @jkutner)
- Alphabetically sort buildpacks in pack inspect-builder (#1011 by @jsncmgs1)
- Add global pull policy configuration command (#1008 by @nkuik)
Contributors
We'd like to acknowledge that this release wouldn't be as good without the help of the following amazing contributors:
@dfreilich, @dwillist, @jabrown85, @jkutner, @jromero, @jsncmgs1, @nkuik