Skip to content

pack v0.0.5

Compare
Choose a tag to compare
@ssisil ssisil released this 25 Oct 16:46

The pack CLI now includes the ability to specify a local buildpack on pack build to shorten feedback loops when you are developing your own cloud native buildpacks. The local buildpack must be a directory, and the path to the buildpack must be specified with the --buildpack flag.

Additionally, you can now swap out your run image with a new version without rebuilding your entire application image using pack rebase. With pack rebase --publish, the rebasing happens entirely on the registry, without needing a local copy of the run image.

Prerequisites

Docker

Install

  1. Download the tar.gz file for your platform
  2. Extract the pack binary
  3. (Optional) Add the path to the binary to PATH, or copy the binary into /usr/local/bin

Run

Run the command pack.

You should see the following output

Usage:
  pack [command]

Available Commands:
  add-stack
  build
  create-builder
  delete-stack
  help              Help about any command
  rebase
  run
  set-default-stack
  update-stack
  version

Flags:
  -h, --help   help for pack

Use "pack [command] --help" for more information about a command.

Release Notes

  • Ability to swap out base stack - buildpacks/roadmap#2
  • Ability to specify which buildpack you want to use - #25
  • Ability to see what version of the CLI you are running - #43
  • Ability to set default stack - #38

Upcoming Features

  • Support for windows version - #29