Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 4.52 KB

File metadata and controls

74 lines (54 loc) · 4.52 KB

Posit Logo      Posit Bakery Hex Logo

Bakery

The bakery command line interface (CLI) binds together various tools to manage a matrixed build of container images.

Documentation

Full documentation is available at posit-dev.github.io/images-shared.

Prerequisites

3rd Party Tools

Tool Used By Purpose
docker buildx bake bakery build --strategy bake Build containers in parallel
docker, podman, or nerdctl bakery build --strategy build Build containers in series
dgoss bakery dgoss run Test container images for expected content & behavior
hadolint bakery hadolint run Lint Dockerfile/Containerfile
openscap to be implemented Scan container images for secure configuration and vulnerabilities
trivy to be implemented Scan container images for vulnerabilities
wizcli bakery wizcli scan Scan container images for vulnerabilities

Installation

Install bakery from PyPI using uv tool:

uv tool install posit-bakery

To install an unreleased development version directly from GitHub:

uv tool install 'git+https://github.com/posit-dev/images-shared.git@main#subdirectory=posit-bakery&egg=posit-bakery'

Examples

See the Bakery Examples repository for step-by-step tutorials on creating and managing container image projects with Bakery.

Development

Development Prerequisites

  • just

    # Show all the just recipes
    just
  • uv