Skip to main content

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 bakery trivy scan 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'

To install your own local checkout — e.g. to test changes to posit_bakery/ before opening a PR — install it in editable mode. bakery then reflects source edits immediately, with no reinstall step:

just install-tool          # from anywhere in the repo
# or, equivalently, from the repository root:
uv tool install --editable ./posit-bakery

All three methods install the same bakery command on your PATH. uv tool install replaces whichever install is currently active, so switch back to the released version with uv tool install posit-bakery when you're done testing locally.

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

Metadata

Release files for posit-bakery 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for posit-bakery 0.8.0
File Size Uploaded Provenance Actions
posit_bakery-0.8.0.tar.gz 206.0 kB With provenance Details for posit_bakery-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for posit-bakery 0.8.0
File Interpreter ABI Platform Actions
posit_bakery-0.8.0-py3-none-any.whl Python 3 none any Details for posit_bakery-0.8.0-py3-none-any.whl

Total release size: 482.3 kB

Release files / posit_bakery-0.8.0.tar.gz

Download URL posit_bakery-0.8.0.tar.gz
Size 206.0 kB
Tags Source
SHA-256 checksum
How to use checksums
35822b14f00cb7be92fcbee2a715eae9baa4ec8b9c4cfb98a7550676706b2f52
BLAKE2b-256 checksum
How to use checksums
a8bc5d350ce86e995bcf4ac027a243522445bc6e795a4133345227a925571fa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / posit_bakery-0.8.0-py3-none-any.whl

Download URL posit_bakery-0.8.0-py3-none-any.whl
Size 276.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3886fff4cb0392889cf8cdab1bb942cac5c1e0b84c947327119452a5ae1654ff
BLAKE2b-256 checksum
How to use checksums
a3253cded0e4af165e302d03add8d9d549d4946fa75d24fbffa43b454c6805da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for posit-bakery 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for posit_bakery-0.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page