Skip to content

swiss-army-knife v2.0.0

Compare
Choose a tag to compare
@mattmattox mattmattox released this 31 Aug 22:40
· 2 commits to main since this release
v2.0.0
9003e52

swiss-army-knife v2.0.0 πŸš€

Major release featuring comprehensive debugging tools, Docker build improvements, and enhanced reliability.

🎯 Key Features

Multi-Stage Docker Build

  • Go echo-server application for testing and debugging
  • Static binary compilation for minimal footprint
  • Comprehensive tool installation with robust error handling

Comprehensive Debugging Tools

  • Networking: tcpdump, traceroute, telnet, netcat, dig, nslookup, socat, iperf, mtr
  • System: curl, wget, tree, vim, less, jq, openssl, iptables, ethtool
  • Build: gcc, make, automake, autoconf, gawk, libtool
  • Kubernetes: Latest stable kubectl with autocompletion

Enhanced Reliability

  • Fixed Docker build failures with standard SUSE BCI repositories
  • Graceful fallbacks for optional packages (conntrack, mtr, iperf)
  • Comprehensive error handling for missing dependencies
  • GitHub Actions integration with Trivy security scanning

πŸ”§ Usage

Quick Start

# Run as debugging container
docker run -it rancherlabs/swiss-army-knife:v2.0.0

# Attach to existing container network namespace  
docker run --net=container:TARGET_CONTAINER -it rancherlabs/swiss-army-knife:v2.0.0

# Use with containerd
ctr run --rm rancherlabs/swiss-army-knife:v2.0.0 debug-tools bash

Echo Server

The container now includes a built-in echo server that provides:

  • HTTP endpoint on port 8080 for testing connectivity
  • Request/response debugging with detailed JSON output
  • Kubernetes pod information from environment variables

πŸ›‘οΈ Security & Quality

  • Base image: SUSE BCI 15.7 for enterprise stability
  • Security scanning: Integrated Trivy vulnerability detection
  • Signed commits: GPG-signed development process
  • Clean dependencies: Standard repository packages only

πŸ”„ What's Changed

Docker Build Improvements

  • βœ… Removed external repository dependencies that caused 404 errors
  • βœ… Added package installation fallbacks for maximum compatibility
  • βœ… Standard SUSE BCI repositories for reliable builds
  • βœ… Comprehensive error handling in package installation

Tool Updates

  • βœ… Latest stable kubectl instead of multiple versions
  • βœ… Enhanced networking tools with optional installations
  • βœ… Improved documentation with containerd examples
  • βœ… GitHub Actions workflows for automated testing and releases

πŸ“¦ Container Images

This release publishes to:

  • Docker Hub: rancherlabs/swiss-army-knife:v2.0.0 and rancherlabs/swiss-army-knife:latest
  • Rancher Prime Registry: Enterprise-grade container registry

Full Changelog: v1.0.0...v2.0.0

πŸ€– Generated with Claude Code