Skip to content

pack v0.0.6

Compare
Choose a tag to compare
@ssisil ssisil released this 26 Nov 22:00
7016fec

The pack CLI now supports Windows!

This release also now adds full working support for pack run. This command supports the same flags and arguments as pack build - except the --publish flag. Additionally, you can now leverage your local environment variables in your container when building your application using the pack build --env-file argument.

Please note that commands that use buildpacks from local directories are not supported on Windows due to local file permission inconsistencies. Because of this limitation, the following features are not supported in the Windows version

  • pack create-builder - Creating a custom builder image
  • pack build --buildlpack <dir> - Ability to build your application using a local version of your buildpack source code.

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           Create a new stack with the provided build and run image(s)
  build               Create runnable app image from source code using buildpacks
  create-builder      Compose several buildpacks into a builder image
  delete-stack        Delete a named stack
  help                Help about any command
  rebase              Update an app image to an new underlying stack
  run                 Create and immediately run an app image from source code using buildpacks
  set-default-builder Set the default builder used by `pack build`
  set-default-stack   Set the default stack used by `pack create-builder`
  update-stack        Update a stack with the provided versions of build and run image(s)
  version             Display the version of the `pack` tool

Flags:
  -h, --help   help for pack

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

Release Notes

Upcoming Features