pack rebase

pack rebase

Rebase app image with latest run image

Synopsis

Rebase allows you to quickly swap out the underlying OS layers (run image) of an app image generated by pack build with a newer version of the run image, without re-building the application.

pack rebase <image-name> [flags]

Examples

pack rebase buildpacksio/pack

Options

      --force                      Perform rebase operation without target validation (only available for API >= 0.12)
  -h, --help                       Help for 'rebase'
      --previous-image string      Image to rebase. Set to a particular tag reference, digest reference, or (when performing a daemon build) image ID. Use this flag in combination with <image-name> to avoid replacing the original image.
      --publish                    Publish the rebased application image directly to the container registry specified in <image-name>, instead of the daemon. The previous application image must also reside in the registry.
      --pull-policy string         Pull policy to use. Accepted values are always, never, and if-not-present. The default is always
      --report-output-dir string   Path to export build report.toml.
                                   Omitting the flag yield no report file.
      --run-image string           Run image to use for rebasing

Options inherited from parent commands

      --force-color   Force color output
      --no-color      Disable color output
  -q, --quiet         Show less output
      --timestamps    Enable timestamps in output
  -v, --verbose       Show more output

SEE ALSO

  • pack - CLI for building apps using Cloud Native Buildpacks