pack v0.30.0-pre2
Pre-release
Pre-release
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.
Prerequisites
Install
Linux
AMD64
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.30.0-pre2/pack-v0.30.0-pre2-linux.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
ARM64
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.30.0-pre2/pack-v0.30.0-pre2-linux-arm64.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
MacOS
Intel
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.30.0-pre2/pack-v0.30.0-pre2-macos.tgz" | sudo tar -C /usr/local/bin/ --no-same-owner -xzv pack)
Apple Silicon
(curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.30.0-pre2/pack-v0.30.0-pre2-macos-arm64.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
builder Interact with builders
buildpack Interact with buildpacks
extension Interact with extensions
config Interact with your local pack config file
inspect Show information about a built app image
stack (deprecated) Interact with stacks
rebase Rebase app image with latest run image
sbom Interact with SBoM
completion Outputs completion script location
report Display useful information for reporting an issue
version Show current 'pack' version
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.17.0-pre.2 by default.
Changelog
Features
- Update deps (#1771 by @jkutner)
- dependency updates (#1758 by @jkutner)
- Add support for extensions in pack Buildpack downloader (#1757 by @itsdarshankumar)
- Update Paketo stack & builder references to Jammy (#1745 by @dmikusa)
- inspect image: add one unit test (#1744 by @joe-kimmel-vmw)
- add one Rebase unit test and fix nil handling (#1743 by @joe-kimmel-vmw)
- Extract internal/cache package to public (#1741 by @inspirit941)
- go 1.20 (#1740 by @joe-kimmel-vmw)
- Create benchmark.yml and add end-to-end benchmark (#1736 by @edithwuly)
- Fix concurrency waiting when running containers (#1735 by @quantumsheep)
- fix some comments (#1734 by @cuishuang)
- Upgrade default lifecycle to 0.17.0-pre.2 (#1730 by @jkutner)
- Enable experimental in exporter if we are using extensions (#1724 by @natalieparellano)
- Upgrade golang.org/x/text in tools (#1723 by @jkutner)
- remove deprecated suggest-stacks command (#1714 by @joe-kimmel-vmw)
- Add EnsureTargetSupport to BuildpackDescriptor (#1713 by @jkutner)
- show extensions only if they are present for all output format in inspect builder (#1710 by @itsdarshankumar)
- adds deprecation warnings to pack stack comands (#1706 by @joe-kimmel-vmw)
- feat: add registry cache support for Azure DevOps (#1701 by @nadworny)
- adds rebase force override passthru flag (#1700 by @joe-kimmel-vmw)
- Pack should support run image extension on Platform API 0.12 (#1698 by @natalieparellano)
- Remove replacments for docker and buildkit (#1696 by @jkutner)
- Some fixes (#1692 by @chetanguptaa)
- Add
--flatten
,--depth
andflatten-exclude
flags topack builder create
andpack buildpack package
command (#1691 by @jjbustamante) - feature(makefile): Add help and necessary comments to the makefile to… (#1679 by @cubxxw)
- Extension package (#1661 by @itsdarshankumar)
- Implement RFC-0096 Remove Stacks & Mixins: phase 1 (#1660 by @jkutner)
- pack build support --extension (#1651 by @edithwuly)
Contributors
We'd like to acknowledge that this release wouldn't be as good without the help of the following amazing contributors:
@SaumyaBhushan, @chetanguptaa, @cubxxw, @cuishuang, @dependabot[bot], @dfreilich, @dmikusa, @edithwuly, @inspirit941, @itsdarshankumar, @jjbustamante, @jkutner, @joe-kimmel-vmw, @nadworny, @natalieparellano, @phil9909, @quantumsheep