Prerequisites
Install
Linux
AMD64
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.36.0-rc1/pack-v0.36.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.36.0-rc1/pack-v0.36.0-rc1-linux-arm64.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
S390X
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.36.0-rc1/pack-v0.36.0-rc1-linux-s390x.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
PPC64LE
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.36.0-rc1/pack-v0.36.0-rc1-linux-ppc64le.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
MacOS
Intel
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.36.0-rc1/pack-v0.36.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.36.0-rc1/pack-v0.36.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:
--force-color Force color output
-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.20.3 by default.
Changelog
Features
pack
references the lifecycle image with a fully qualified name (#2185 by @hhiroshell)- It is possible to trust builders by repo or specific tag (#2266 by @modulo11)
pack
warns when the provided image name matches a child directory name (#2256 by @hhiroshell)pack
emits a performance warning if containerd is enabled and the export target is the daemon (#2284 by @natalieparellano)- Bumps dependencies
Bugfixes
- Ephemeral builders are deleted following builds (#2260 by @natalieparellano)
- When parsing buildpack.toml,
pack
does not warn about theclear-env
key (#2261 by @fumblehool) - The
--cache
flag respects case sensitivity (#2245 by @keshavdalmia10)
Contributors
We'd like to acknowledge that this release wouldn't be as good without the help of the following amazing contributors:
@dependabot[bot], @fumblehool, @hhiroshell, @keshavdalmia10, @modulo11, @natalieparellano