pack v0.0.6
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 imagepack build --buildlpack <dir>
- Ability to build your application using a local version of your buildpack source code.
Prerequisites
Install
- Download the
tar.gz
or.zip
file for your platform - Extract the
pack
binary - (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
- Support for windows version - #29
- Set ENV variables during build - buildpacks/roadmap#25
pack run
supports same arguments aspack build
, except--publish
flag - buildpacks/roadmap#23- Set default builder - buildpacks/roadmap#10
Upcoming Features
- Ability to see what buildpacks exist in a builder - buildpacks/roadmap#22