Skip to content

Conversation

mattmattox
Copy link
Collaborator

Summary

This PR sets up swiss-army-knife v2 with comprehensive debugging tools, security improvements, and fixes for Docker build failures.

Key Features

Multi-stage Docker build with Go echo-server application for testing/debugging
Updated kubectl to use stable version from upstream releases
Comprehensive networking tools: tcpdump, traceroute, telnet, netcat, dig, nslookup, socat
Build tools: gcc, make, automake, autoconf for compiling applications
GitHub Actions workflows for automated building and releases with Trivy security scanning
Updated documentation with Docker and containerd usage examples

Docker Build Improvements ✅

Fixed external repository dependency that was causing 404 errors in GitHub Actions
Removed problematic zypper addrepo command for network utilities
Added graceful fallbacks for potentially missing packages (conntrack, mtr, iperf)
All packages now install from standard SUSE BCI repositories
Resolves GitHub Actions build failures with comprehensive error handling

Security Improvements

Base image: SUSE BCI 15.7 for enterprise stability
Trivy security scanning integrated into CI/CD pipeline
Proper vulnerability management with .trivyignore for acceptable risks
Comprehensive tool installation with proper cleanup

Technical Details

Go application: Static echo-server binary for network testing
Package management: Robust installation with fallback mechanisms
kubectl: Latest stable version with autocompletion configured
Default behavior: Interactive bash shell for debugging

Test plan

  • Docker build succeeds locally and in CI
  • All essential packages install from standard SUSE repositories
  • Fallback mechanisms work for optional packages
  • Echo server application builds and functions correctly
  • kubectl installation works with autocompletion
  • GitHub Actions workflows pass with Trivy security scanning
  • Clean signed commit history for merge compliance

Commit Signature Compliance ✅

This PR features a single, properly signed commit with:

  • Verified GPG signature using SUSE key ([email protected])
  • Clean commit history to prevent future signature blocking
  • All functionality preserved from previous iterations

🤖 Generated with Claude Code

…ker build fixes

This PR sets up swiss-army-knife v2 with comprehensive debugging tools, security improvements, and fixes for Docker build failures:

• Multi-stage Docker build with Go echo-server application for testing/debugging
• Updated kubectl to use stable version from upstream releases
• Comprehensive networking tools: tcpdump, traceroute, telnet, netcat, dig, nslookup, socat
• Build tools: gcc, make, automake, autoconf for compiling applications
• GitHub Actions workflows for automated building and releases with Trivy security scanning
• Updated documentation with Docker and containerd usage examples

• Fixed external repository dependency that was causing 404 errors
• Removed problematic zypper addrepo command for network utilities
• Added graceful fallbacks for potentially missing packages (conntrack, mtr, iperf)
• All packages now install from standard SUSE BCI repositories
• Resolves GitHub Actions build failures with comprehensive error handling

• Base image: SUSE BCI 15.7 for enterprise stability
• Trivy security scanning integrated into CI/CD pipeline
• Proper vulnerability management with .trivyignore for acceptable risks
• Comprehensive tool installation with proper cleanup

• Go application: Static echo-server binary for network testing
• Package management: Robust installation with fallback mechanisms
• kubectl: Latest stable version with autocompletion configured
• Default behavior: Interactive bash shell for debugging

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

Co-Authored-By: Claude <[email protected]>
@mattmattox mattmattox self-assigned this Aug 31, 2025
@mattmattox mattmattox requested a review from dkeightley August 31, 2025 22:01
- Update CMD to start the Go echo-server by default
- Provides immediate functionality for testing and debugging
- Users can still access bash shell via docker exec if needed

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

Co-Authored-By: Claude <[email protected]>
@dkeightley dkeightley merged commit 9003e52 into main Aug 31, 2025
2 checks passed
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