GitXplorerGitXplorer
s

debug

public
10 stars
3 forks
2 issues

Commits

List of commits on branch master.
Verified
08be2902a5510d7fe231fde13f597630d3a93185

build(deps): bump debian in /src (#134)

ddependabot[bot] committed 20 days ago
Verified
6ef5efc0d27720f1bdacc664ad7eeed96c7539e7

build(deps): bump debian in /src (#133)

ddependabot[bot] committed a month ago
Verified
24665411451c88fcfff9a95b491fde6d885e9db3

build(deps): bump debian in /src (#132)

ddependabot[bot] committed 2 months ago
Verified
455eab820d7ab052e47455c9eafa33f28692a70e

build(deps): bump debian in /src (#131)

ddependabot[bot] committed 3 months ago
Verified
a11b1736655104578d57fbcc5f1b0f986363b3d1

build(deps): bump debian in /src (#130)

ddependabot[bot] committed 4 months ago
Verified
50f31cf0b5b5aa5d5d5993532b4c1ee55a34f6d8

build(deps): bump debian in /src (#129)

ddependabot[bot] committed 4 months ago

README

The README file for this repository.

The DEBUG container for any moment in life

Dependabot Status test-build-release Docker Image Version (latest semver) Docker Pulls Docker Image Size (latest semver)

Why

Sometimes in life you need a container in a K8s Cluster or on a Docker machine to debug some things. In this situation this image helps you alot! 🎉 🙌

How

Build locally

docker build -t debug:local . -f src/Dockerfile

Man page

Inside the container you can open the man page with man debug. The man page will give you some hints what is installed and some code snippets.

Run in docker context

Interactive Mode

docker run -it --rm --entrypoint /bin/bash steinbrueckri/debug

Server Mode

docker run -d --rm -p2222:22 -p8080:80 steinbrueckri/debug

Run in K8s context

Interactive Mode

kubectl run --namespace default -i --tty debug --image=steinbrueckri/debug --restart=Never --rm=true -- bash

You can also alias that command within your .zshrcor .bashrc by adding the following line:

alias kdebug='kubectl run --namespace default -i --tty debug --image=steinbrueckri/debug --restart=Never --rm=true -- zsh'

NOTE: Feel free to replace ZSH with the shell of your choice. We have sh, Bash, ZSH, fish

Server Mode

TBD

Configuration

Environment variables

General Options

  • SSHUSERS github users split by whitespaces for publickey deployment

Contributions

  • Contributions are welcome!
  • Give ⭐ - if you want to encourage me to work on a project
  • Don't hesitate create issue for new feature you dream of or if you suspect some bug

Testing

For testing the bats testing framework is used.

git clone https://github.com/steinbrueckri/debug.git
./test/run.bats

Project versioning

Project use Semantic Versioning. We recommended to use the latest and specific release version.

In order to keep your project dependencies up to date you can watch this repository (Releases only) or use automatic tools like Dependabot.

Release

  • create new branch
  • make your changes, if needed
  • commit your changes like
    • Patch Release: fix(script): validate input file to prevent empty files
    • Minor Release: feat(dockerimage): add open for multiple input files
    • Major Release look her