github buildpacks/pack v0.0.9
pack v0.0.9

latest releases: v0.35.1, v0.35.0, v0.34.2...
5 years ago

Prerequisites

Docker

Install

  1. Download the tar.gz or .zip 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           Add stack to list of available stacks
  build               Generate app image from source code
  create-builder      Create builder image
  delete-stack        Delete stack from list of available stacks
  help                Help about any command
  rebase              Rebase app image with latest run image
  run                 Build and run app image (recommended for development only)
  set-default-builder Set default builder used by other commands
  set-default-stack   Set default stack used by other commands
  stacks              Show information about available stacks
  update-stack        Update stack build and run images
  version             Show current 'pack' version

Flags:
  -h, --help         Help for 'pack'
      --no-color     Disable color output
  -q, --quiet        Show less output
      --timestamps   Enable timestamps in output

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

Release Notes

  • Fix pull of private images on certain registries (#74).
  • Fix missing user-provided environment variables during detection (#83).
  • Use image name to locate cache volume (instead of app path) (buildpacks/roadmap#28).
  • Add pack stacks command to list stacks (buildpacks/roadmap#24).
  • Clean-up log output from the pack CLI / lifecycle
  • Add color to the pack CLI when used from a terminal (buildpacks/roadmap#33). (Pass --no-color to manually disable.)
  • Add --quiet flag (buildpacks/roadmap#32).

Experimental Features

This release introduces a hidden --clear-cache flag to pack build that often fails due to poor clean-up after pack receives SIGINT or SIGTERM. This flag will be documented in the next release. Will also improve the container clean-up logic in the next release so that stopped containers are removed (and are never left bound to volumes).

Upcoming Features

  • In the next release, builders will encode a default run image. Pack's config.toml will only used to create builders. (Note: this feature was rescheduled from v0.0.9 to v0.0.10.)

Don't miss a new pack release

NewReleases is sending notifications on new releases.