Prerequisites
Install
Linux
AMD64
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.31.0-rc1/pack-v0.31.0-rc1-linux.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
ARM64
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.31.0-rc1/pack-v0.31.0-rc1-linux-arm64.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
MacOS
Intel
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.31.0-rc1/pack-v0.31.0-rc1-macos.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
Apple Silicon
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.31.0-rc1/pack-v0.31.0-rc1-macos-arm64.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
extension Interact with extensions
config Interact with your local pack config file
inspect Show information about a built app image
stack (deprecated) Interact with stacks
rebase Rebase app image with latest run image
sbom Interact with SBoM
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.17.1 by default.
Changelog
Features
- Update acceptance fixtures to use newer Buildpack API versions (#1913 by @natalieparellano)
- Simplifies acceptance tests by moving fixtures up one directory (#1911 by @natalieparellano)
- Ability to add image labels to buildpacks during pack buildpack package (#1867 by @colincasey)
Bugs
- Fix target validation when buildpack fails to declare field (#1897 by @natalieparellano)
- Missing test case when handling docker context - continuation of the solution to fix 1759 (#1894 by @jjbustamante)
- Fixing out of memory using
pack builder create
on pack 0.30.0 (#1887 by @jjbustamante) - Adding configuration to OCI Layout format when executing phases 1 by 1 (#1882 by @jjbustamante)
- Adding /tmp folder to pack image distribution (#1879 by @jjbustamante)
- Adding support for reading docker context (#1878 by @jjbustamante)
- Fixing error connecting to a remote daemon over ssh (#1876 by @jjbustamante)
- When additional buildpack is missing version, try to use the latest one (#1873 by @natalieparellano)
- Provides client keychain to lifecycle instead of the default keychain (#1872 by @natalieparellano)
Contributors
We'd like to acknowledge that this release wouldn't be as good without the help of the following amazing contributors:
@dlion, @jjbustamante, @jkutner, @natalieparellano, @colincasey