jam

command module
v2.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

README

jam

jam is a command-line tool for buildpack authors and users. The jam name is simply a play on the idea of "packaging" or "packing" a buildpack.

jam comes with the following commands:

  • create-stack : create a CNB stack
  • help : help about any command
  • pack : package buildpack
  • summarize : summarize buildpackage
  • update-builder : update builder
  • update-buildpack : update buildpack
  • update-dependencies : update all depdendencies in a buildpack.toml according to metadata.constraints

The jam executable can be installed by downloading the latest version from the Releases page. Once downloaded, buildpacks can be created from a source repository using the pack command like this:

jam pack \
  --buildpack ./buildpack.toml \
  --stack io.paketo.stacks.tiny \
  --version 1.2.3 \
  --offline \
  --output ./buildpack.tgz
Building stack images on linux

In order to build stack images on linux, you will need to first install packages to enable emulation of the arm64 instruction set. This is not an issue on other operating systems (e.g. OSX) because Docker already runs in a Virtual Machine with emulation support enabled.

For example, to enable emulation on Ubuntu 2204 (Jammy), run the following command:

sudo apt-get install qemu binfmt-support qemu-user-static

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
integration

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL