This project provides a Docker-based development environment equipped with various tools and utilities commonly used for development and DevOps tasks. The Docker image includes essential tools such as Kubernetes CLI, Helm, ArgoCD, Flux CLI, Azure CLI, and more, allowing developers to have a consistent and portable development setup.
- Kubernetes CLI: Manage Kubernetes clusters with
kubectl. - Helm: Package manager for Kubernetes.
- ArgoCD: Declarative GitOps continuous delivery tool for Kubernetes.
- Flux CLI: Continuous delivery solution for Kubernetes.
- Azure CLI: Command-line tools for managing Azure resources.
- Additional Tools: Includes tools like Git, Docker, Node.js, Go, PowerShell, and more.
- kube-no-trouble: Easily check your clusters for the use of deprecated APIs
- Krew: plugin manager for
kubectlcommand-line tool
docker build -t dev-tools:latest .
podman build -t dev-tools:latest .
docker run -it -v ${PWD}:/work -v $home/.root:/root -v $home/.azure:/root/.azure -v $home/.kube:/root/.kube -v /var/run/docker.sock:/var/run docker.sock --net host --rm --workdir /work dev-tools:latestpodman run -it -v "$(pwd):/work" -v "$HOME/.root:/root" -v "$HOME/.azure:/root/.azure" -v "$HOME/.kube:/root/.kube" --network=host --rm --workdir /work dev-tools:latestPut this in your powershell $profile
## Docker
function start-dev-tools-container {
docker run -it -v ${PWD}:/work -v $home/.root:/root -v $home/.azure:/root/.azure -v $home/.kube:/root/.kube -v /var/run/docker.sock:/var/run/docker.sock --net host --rm --workdir /work dev-tools:latest
}
Set-Alias devtools start-dev-tools-container
## PodMan
function Start-DevTools-Container {
podman run -it `
-v "${PWD}:/work" `
-v "${env:USERPROFILE}\.root:/root" `
-v "${env:USERPROFILE}\.azure:/root/.azure" `
-v "${env:USERPROFILE}\.kube:/root/.kube" `
--network=host `
--rm `
--workdir /work `
dev-tools:latest
}
Set-Alias devtools Start-DevTools-ContainerPut this in you Windows Terminal "Commandline" when creating a new profile for the Dev-tools. Remember to type exit in the terminal to kill the docker container when done using the terminal 😁
docker run -it --rm -v C:/Users/#USERNAME#:/work -v C:/Users/#USERNAME#/.azure:/root/.azure -v /var/run/docker.sock:/var/run/docker.sock -v C:/Users/#USERNAME#/.kube:/root/.kube -v C:/Users/#USERNAME#/.minikube:/root/.minikube --rm --workdir /work dev-tools:latest