pack v0.15.0-rc1
This is a beta pre-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
Linux
Command
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.15.0-rc1/pack-v0.15.0-rc1-linux.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
Manually
- Download the
.tgz
or.zip
file for your platform - Extract the
pack
binary - (Optional) Add the directory containing
pack
toPATH
, or copypack
to a directory like/usr/local/bin
Run
Run the command pack
.
You should see the following output:
CLI for building apps using Cloud Native Buildpacks
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
inspect-buildpack Show information about a buildpack
set-run-image-mirrors Set mirrors to other repositories for a given run image
set-default-builder Set default builder used by other commands
inspect-builder Show information about a builder
suggest-builders Display list of recommended builders
trust-builder Trust builder
untrust-builder Stop trusting builder
list-trusted-builders List Trusted Builders
create-builder Create builder image
package-buildpack Package buildpack in OCI format.
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 contain lifecycle v0.9.1 by default.
Changelog
Features
- Use a default package config for a buildpackage (#932 by @jkutner)
- Add output format option to inspect-builder command (#887 by @dwillist and @simonjjones )
- Warn when a deprecated buildpacks API version is being used (#816 by @danielcooperxyz)
- Add support for docker:// URIs (#896 by @jkutner)
- Handle more types of naked locators (#902 by @jkutner)
- Specify acceptable inputs for the --buildpack flag (#894 by @Infra-Red)
- Add examples and long descriptions to commands (#853 by @dfreilich)
- Prepend experimental to experimental commands (#849 by @dfreilich)
Breaking Changes
Changes that may require a little bit of thought before upgrading.
- Remove support for
--no-pull
flag (#892 by @anshlykov)
Experimental
Experimental features that may change in the future. Use them at your discretion.
To enable these features, add experimental = true
to your ~/.pack/config.toml
.
- Move package
os
to be configured viapackage.toml
(#926 by @aemengo) - Add
pack remove-registry
command (#877 by @elbandito) - Add
pack set-default-registry
command (#876 by @elbandito) - Enable package-buildpack for windows (#840 by @TisVictress)
Library Changes
Changes that only affect the use of pack
as a Go library.
Contributors
We'd like to acknowledge that this release wouldn't be as good without the help of the following amazing contributors:
@danielcooperxyz, @Infra-Red, @TisVictress, @aemengo, @anshlykov, @dfreilich, @dwillist, @elbandito, @jkutner, @jromero, @legoktm, @simonjjones