Skip to content

Conversation

@fatherlinux
Copy link
Owner

Summary

Three-layer container strategy to dramatically speed up CI/CD:

  1. acquacotta-base - Infrastructure layer (RPMs, Python deps, Apache)
  2. acquacotta - App layer (just code, very fast to build)
  3. acquacotta-test - Test layer (pytest, ruff, Node, Rust, Gourmand)

New Files

  • Containerfile.base - Base image with slow-to-install infrastructure
  • Containerfile.test - Test image with all test frameworks pre-installed
  • .github/workflows/container-base.yml - Builds base/test images when deps change

Modified

  • Containerfile - Now builds FROM acquacotta-base (much faster)

Architecture

ubi10 → acquacotta-base → acquacotta (production)
                        → acquacotta-test (CI/CD)

Benefits

  • Release builds only copy app code (~seconds vs ~minutes)
  • Base image only rebuilds when dependencies change
  • Test image has all frameworks pre-installed for future CI optimization

Next Steps After Merge

  1. Manually trigger container-base.yml to build initial base images
  2. Future release builds will use the pre-built base

🤖 Generated with Claude Code

Three-layer container strategy:
1. acquacotta-base - Infrastructure layer (RPMs, Python deps, Apache)
2. acquacotta - App layer (just code, very fast to build)
3. acquacotta-test - Test layer (pytest, ruff, Node, Rust, Gourmand)

New files:
- Containerfile.base: Base image with slow-to-install infrastructure
- Containerfile.test: Test image with all test frameworks pre-installed
- container-base.yml: Workflow to build base/test images when deps change

Modified:
- Containerfile: Now builds FROM acquacotta-base (much faster)

Benefits:
- Release builds only copy app code (~seconds vs ~minutes)
- Base image only rebuilds when dependencies change
- Test image has all frameworks pre-installed for future CI optimization

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@fatherlinux fatherlinux merged commit 8f49a0a into main Jan 25, 2026
3 checks passed
@fatherlinux fatherlinux deleted the ci/multi-layer-containers branch January 25, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants