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! 🎉 🙌
docker build -t debug:local . -f src/Dockerfile
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.
docker run -it --rm --entrypoint /bin/bash steinbrueckri/debug
docker run -d --rm -p2222:22 -p8080:80 steinbrueckri/debug
kubectl run --namespace default -i --tty debug --image=steinbrueckri/debug --restart=Never --rm=true -- bash
You can also alias that command within your .zshrc
or .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
TBD
SSHUSERS
github users split by whitespaces for publickey deployment
- 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
For testing the bats testing framework is used.
git clone https://github.com/steinbrueckri/debug.git
./test/run.bats
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.
- 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
- Patch Release: