alpine/doctl
DigitalOcean command line with kubernetes and helm
10K+
DigitalOcean tool images with necessary tools, it can be used as normal kubectl or doctl command line as well.
Image tag is kubectl version, not doctl version
https://github.com/alpine-docker/doctl
https://app.circleci.com/pipelines/github/alpine-docker/doctl
https://hub.docker.com/r/alpine/doctl/tags/
Mostly it is used during CI/CD (continuous integration and continuous delivery) or as part of an automated build/deployment
Make sure you have set a secret variable DIGITALOCEAN_TOKEN
in its pipeline, with below pipeline, you can
jobs:
build:
docker:
- image: alpine/doctl:1.22.2
steps:
- checkout
- run:
name: helm_chart_deployment
command: |
# doctl authenticating
doctl auth init -t ${DIGITALOCEAN_TOKEN}
# run other doctl command if required
apk add jq
# save Kube config
id=$(doctl kubernetes cluster list -o json |jq -r .[].id)
doctl kubernetes cluster kubeconfig save ${id}
# deploy a helm chart
cd charts/application_name
helm upgrade --install my-release .
If you want to build these images by yourself, please follow below commands.
export REBUILD=true
bash ./build.sh
Build job runs daily by CircleCI
docker pull alpine/doctl