pack v0.34.0-rc2
Pre-release
Pre-release
Prerequisites
Install
Linux
AMD64
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.34.0-rc2/pack-v0.34.0-rc2-linux.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
ARM64
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.34.0-rc2/pack-v0.34.0-rc2-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.34.0-rc2/pack-v0.34.0-rc2-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.34.0-rc2/pack-v0.34.0-rc2-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.34.0-rc2/pack-v0.34.0-rc2-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.34.0-rc2/pack-v0.34.0-rc2-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.19.6 by default.
Changelog
Dependencies update
- Updating default lifecycle version 0.19.6 (#2157 by @jjbustamante)
- Updating to Docker 26.x (#2136 by @jjbustamante)
Features
- Add a new
manifest
command to support multi-architecture builds (#1705 by @husni-faiz) - Implementation of the multi-platform support for builders and buildpack packages RFC 0128 (#2086 by @jjbustamante)
- Support
pack build --platform
(#2162 by @natalieparellano) - Platform API 0.13: look for build Dockerfiles in /generated//Dockerfile.build (#2145 by @natalieparellano)
- Platform API 0.13: remove experimental configuration for extensions (#2125 by @jjbustamante)
- Separate suggested builders from default trusted builders (#2043 by @colincasey)
- Warn if project.toml contains keys not supported by schema (#2042 by @colincasey)
- Add an option to retag rather than replacing the target image while rebasing (#2023 by @Parthiba-Hazra)
Bugs
- Add ephemeral lifecycle image, enabling podman support (#2129 by @BarDweller)
- Do not initialize
http.Client
during each request to a remote location (#2151 by @pbusko) - Pack Build fails with extensions (#2165 by @natalieparellano)
- Pack buildpack new
--targets
creates buildpack.toml with wrong field/table names for distro name/version (#2123 by @natalieparellano) - Pack buildpack new
--targets
incorrect warning about distro version not being specified (#2123 by @natalieparellano) - When validating buildpack.toml, don't warn for keys that are actually defined (#2161 by @natalieparellano)
- CheckReadAccess fails when using a local run image (#2092 by @jjbustamante)
- Return an image even if inaccessible (#2088 by @AidanDelaney)
- Pack buildpack package fails when using [[targets]] with ERROR: no compatible stacks among provided buildpacks (#2081 by @joshwlewis)
- Pack build command not picking the run image (#2022 by @Pratham1812)
- Warn misconfiguration keys in project.toml only for tables we own (#2155 by @jjbustamante)
- Pull run image using digest reference in analyzed.toml (not image name from extensions) (#2127 by @natalieparellano)
Contributors
We'd like to acknowledge that this release wouldn't be as good without the help of the following amazing contributors:
@AidanDelaney, @BarDweller, @Parthiba-Hazra, @Pratham1812, @a1flecke, @colincasey, @dependabot[bot], @dgannon991, @husni-faiz, @jjbustamante, @joshwlewis, @matejvasek, @mstergianis, @natalieparellano, @pbusko, @valen-mascarenhas14