Skip to content

Conversation

@jackaltx
Copy link
Owner

Summary

Refactor build system to use unified Containerfiles with flag-based syntax and add lsof package to all containers.

Changes

Build System Refactoring

  • New syntax: ./build.sh -d <distro> -v <version> (replaces ./build.sh debian12-ssh)
  • Unified Containerfiles:
    • debian/Containerfile for Debian & Ubuntu (with DISTRO_BASE/DISTRO_VERSION args)
    • rocky/Containerfile for Rocky Linux (with DISTRO_VERSION arg)
  • Image naming: rocky-ssh:9 (dropped 'x' from rocky9x-ssh)
  • Registry config: Centralized in ~/.secrets/testing-containers-registry.conf
  • run-podman.sh: Added registry authentication for private registries

Package Additions

  • Added lsof to debian/Containerfile (Debian & Ubuntu)
  • Added lsof to rocky/Containerfile (Rocky Linux)
  • Both families already had ps (procps/procps-ng)

Documentation

  • Updated README.md with new -d/-v syntax
  • Added sanitized registry config example
  • Added troubleshooting section
  • Fixed markdown linting warnings

Testing

Verified on GitHub Container Registry:

  • ✅ debian-ssh:12 - lsof working
  • ✅ debian-ssh:13 - lsof working
  • ✅ rocky-ssh:9 - lsof working

Files Modified

  • build.sh - Complete rewrite with flag parsing
  • run-podman.sh - Flag parsing + registry auth
  • debian/Containerfile - Added lsof package
  • rocky/Containerfile - Added lsof package
  • README.md - Updated documentation

Breaking Changes

  • Clean break: Old syntax (./build.sh debian12-ssh) no longer supported
  • Old version-specific directories deleted
  • New flag-based syntax required: ./build.sh -d debian -v 12

🤖 Generated with Claude Code

jackaltx and others added 4 commits January 18, 2026 17:41
Major changes:
- Unified Containerfiles: debian/ (debian+ubuntu), rocky/ (rocky)
- New build syntax: ./build.sh -d DISTRO -v VERSION
- Registry config: ~/.secrets/testing-containers-registry.conf
- Image naming: distro-ssh:version (e.g., rocky-ssh:9, not rocky9x-ssh)
- Removed old version-specific directories

New workflow:
  source ~/.secrets/testing-containers-registry.conf gitea
  ./build.sh -d debian -v 13
  ./run-podman.sh -d debian -v 13

Tested: debian-ssh:13 builds and pushes to Gitea successfully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changed run-podman.sh to require -d and -v flags (no defaults).
Rebuilt debian-ssh:13 successfully.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Added lsof to debian/Containerfile package list.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Added lsof package to debian/Containerfile (Debian & Ubuntu)
- Added lsof package to rocky/Containerfile (Rocky Linux)
- Added registry login to run-podman.sh for authenticated pulls
- Updated README.md with new -d/-v syntax and sanitized registry config
- Verified: debian-ssh:12, debian-ssh:13, rocky-ssh:9 all have lsof working

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jackaltx jackaltx merged commit 12ca5ed into main Jan 19, 2026
0 of 4 checks passed
@jackaltx jackaltx deleted the test-debian13 branch January 19, 2026 00:58
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