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.7.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.7.0
File Size Uploaded Provenance Actions
posit_bakery-0.7.0.tar.gz 205.9 kB With provenance Details for posit_bakery-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 482.0 kB

Release files / posit_bakery-0.7.0.tar.gz

Download URL posit_bakery-0.7.0.tar.gz
Size 205.9 kB
Tags Source
SHA-256 checksum
How to use checksums
69f2806d9c4cfa282863f5be1dcdd18499f9e1fe628415d32193ba498d4f1683
BLAKE2b-256 checksum
How to use checksums
c8bb5b1f6a3e201701d8e8a82dcf1ab1ef7148da69c10bf4b14a0b18bdef8084
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 9, 2026.

Transparency log

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

Download URL posit_bakery-0.7.0-py3-none-any.whl
Size 276.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc82f239557b946d7310b18b48e1b04872209311c57f4e711ce7cbb4bc1862ff
BLAKE2b-256 checksum
How to use checksums
2b8ad0d29a24cccc14598b9f4ebbe6da73b77c76c947ebf069f01c5fa8cbfc35
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 9, 2026.

Transparency log

Security for posit-bakery 0.7.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.7.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 9, 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