Skip to content

pack v0.41.0-rc1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 04 Dec 12:15
8992d44

Prerequisites

  • A container runtime such as Docker or podman must be available to execute builds.

Install

FreeBSD

AMD64
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.41.0-rc1/pack-v0.41.0-rc1-freebsd.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
ARM64
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.41.0-rc1/pack-v0.41.0-rc1-freebsd-arm64.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)

Linux

AMD64
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.41.0-rc1/pack-v0.41.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.41.0-rc1/pack-v0.41.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.41.0-rc1/pack-v0.41.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.41.0-rc1/pack-v0.41.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.41.0-rc1/pack-v0.41.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.41.0-rc1/pack-v0.41.0-rc1-macos-arm64.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)

Manually

  1. Download the .tgz or .zip file for your platform
  2. Extract the pack binary
  3. (Optional) Add the directory containing pack to PATH, or copy pack 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[=true|false]   Force color output
  -h, --help[=true|false]          Help for 'pack'
      --no-color[=true|false]      Disable color output
  -q, --quiet[=true|false]         Show less output
      --timestamps[=true|false]    Enable timestamps in output
  -v, --verbose[=true|false]       Show more output
      --version[=true|false]       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.21.29 by default.

Upgrade notes

Trusting a mirror now requires its full name

pack compares a builder against the trusted list including its registry. Previously the
comparison dropped the registry, so any registry serving a matching repository path was
treated as trusted. If you build from a mirror of a known builder, name it in full:

pack config trusted-builders add mirror.corp.io/paketobuildpacks/builder-jammy-base

Trusting a builder places registry credentials on its build image, which is why the match
is now scoped to the registry you named.

Default lifecycle version is now 0.21.29

Builders created without an explicit lifecycle version get 0.21.29 (previously 0.21.0).

docker/docker is gone

pack no longer depends on github.com/docker/docker. Consumers importing pack as a
library no longer pull the Docker daemon package transitively.

Go 1.27.4 required to build

The module's go directive is now 1.27.4. This does not affect the released binaries, but
any module importing pack must build with Go 1.27.4 or newer.

Changelog

Features

  • deps: bump the lifecycle library to v0.21.29 and drop docker/docker (#2745 by @jjbustamante)
  • Write warnings to stderr in quiet mode (#2734 by @yuminn-k)
  • Complete the docker/docker removal: correct provenance, drift detection and tests for the vendored volume parser (#2667 by @jjbustamante)
  • Consolidate trust logic into IsTrustedBuilder (#2573 by @runesoerensen)

Bugs

  • fix: compare repository names when checking the default builder in pack build (#2736 by @RaphaelFakhri)

Contributors

We'd like to acknowledge that this release wouldn't be as good without the help of the following amazing contributors:

@RaphaelFakhri, @chimanjain, @dependabot[bot], @jjbustamante, @runesoerensen, @yuminn-k