github buildpacks/pack v0.9.0
pack v0.9.0

latest releases: v0.33.2, v0.33.1, v0.33.0...
4 years ago

pack v0.9.0

This is the ninth 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

If you're on macOS, you can use Homebrew:

$ brew install buildpacks/tap/pack

Otherwise:

  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

Usage:
  pack [command]

Available Commands:
  build                 Generate app image from source code
  rebase                Rebase app image with latest run image
  inspect-image         Show information about a built image
  create-builder        Create builder image
  package-buildpack     Package buildpack
  set-run-image-mirrors Set mirrors to other repositories for a given run image
  inspect-builder       Show information about a builder
  set-default-builder   Set default builder used by other commands
  suggest-builders      Display list of recommended builders
  suggest-stacks        Display list of recommended stacks
  version               Show current 'pack' version
  report                Display useful information for reporting an issue
  completion            Outputs completion script location
  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 continue to contain lifecycle v0.6.1 by default.

Features

  • Adds platform volume mounting. (#400)
  • Improved recognition of terminal for output. (#478)
  • Adds initial support for project.toml. (#421)
  • Adds support for packages in pack build via the --buildpack flag. (#495)
  • Adds validation of buildpackages upon creation. (#494)
  • Exposes the package-buildpack command. (#498)
  • Adds validation of package.toml. (#501)
  • Updated to be compatible with Platform API 0.3. (#509)
    • Note:pack does not yet take advantage of all the new features.
  • Updates builder.toml to use same keys as package.toml for buildpackages. (#508)

Fixes

  • pack now preserves modification times when copying the app directory. (#492)

Breaking Changes

  • Drops support for Platform API 0.1. (#509)
    • See notice for more information.

Don't miss a new pack release

NewReleases is sending notifications on new releases.