Skip to content

About

A pyrig plugin to integrate containers.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

246 Commits

Folders and files

Repository files navigation

pyrig-containers

CI CD ProjectTester SecurityPracticesChecker Best Practices Baseline

ByteOrderMarkerFormatter CICDLinter CICDSecurityChecker CaseConflictChecker CodeAnalyzer DeadCodeChecker DependencyChecker EndOfFileFormatter EndOfLineFormatter FuzzTester JSONFormatter JSONLinter LargeFileChecker MarkdownLinter MergeConflictChecker ModuleTestNamingChecker PythonLinter PythonOrderLinter SecretsChecker SecurityChecker ShellFormatter ShellLinter SpellChecker TOMLLinter TrailingWhitespaceFormatter TypeChecker XMLLinter YAMLLinter

ContainerEngine PackageManager Pyrigger RemoteVersionController VersionControlHookManager VersionController

ContainerRegistry DocsBuilder PackageIndex ProgrammingLanguage License


A pyrig plugin to integrate containers.


Overview

pyrig-containers is a pyrig plugin that packages your project as a container image and publishes it on every release.

Requirements

In addition to pyrig's requirements, you will need:

  • podman — the container engine used for building and running images.
  • podman-compose (optional) — only needed if you compose up outside of the project's virtual environment as this plugin automatically adds it to your development dependencies.

Run from the project root. Run inside the project's virtual environment (e.g.: via uv run) if podman-compose is not on the system PATH:

bash compose-up.sh build
bash compose-up.sh pull

This plugin targets Podman with podman-compose. We do not guarantee compatibility with Docker or other container engines.

What it adds

  • Containerfile — a ready-to-use Containerfile generated at the project root.
  • Compose files — a shared compose.yml and overrides for building locally or pulling the published image.
  • Compose up script — a compose-up.sh script to simplify running Compose commands with the correct files and arguments.
  • Container tooling — wrappers for the container engine (Podman) and the GitHub Container Registry, each contributing a badge.
  • Automatic publishing — deploy calls a reusable container-image workflow with separate build and publish jobs after a successful release.

Usage

uv add pyrig-containers --dev
uv run pyrig sync

Documentation

Full documentation, including the auto-generated API reference, is available on the documentation site.

About

A pyrig plugin to integrate containers.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages