/doctl-kubectl

Light weight docker image with doctl and kubectl installed

Primary LanguageGoGNU General Public License v3.0GPL-3.0

doctl-kubectl

Build Status Docker Pulls Docker Stars

Docker image containing kubectl and doctl. I use tags with doctl versions to make it simpler.

Docker image containing kubectl and doctl. According to DigitalOcean documentation, it's recommended to connect the cluster with doctl. Since most Docker images I found on Docker Hub don't come with doctl, it's painful to integrate DigitalOcean Kubernetes with CI, In my case with bitbucket so I create this Docker image inspired by @henry40408.

Usage example

$ docker run --rm -it samthom/doctl-kubectl:1.46 sh
# kubectl version # Get kubectl version
# doctl --version # Get doctl version

Development setup

$ docker build -t YOUR_USERNAME/doctl-kubectl .

Contributing

  1. Fork it (https://github.com/samthom/doctl-kubectl/fork)
  2. Create your feature branch (git checkout -b feature/foobar)
  3. Commit your changes (git commit -am 'Add some foobar')
  4. Push to the branch (git push origin feature/foobar)
  5. Create a new Pull Request