Skip to content

docker:dind with buildx included / kubernetes images with kind, helm, kustomize, argocd, ... / ansible images

License

Notifications You must be signed in to change notification settings

SickHub/docker-ci-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI license GitHub stars Contributors Paypal GitHub Sponsor

GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests

Docker CI Images

A collection of images that can be used in CI pipelines based on docker.

  • CircleCI
  • GitLab-CI
  • ...

Purpose

Instead of installing the dependencies on every run and possibly using different images for every stage (which is ok, don't get me wrong), you can use the image that has all the tools you need for your pipeline.

Included tools:

  • git, curl, jq

Images with buildx

Docker image DockerHub pulls DockerHub stars architectures

Build multi-arch docker images

  • based on docker:dind
  • includes buildx so you can build for multiple architectures

Usage

  • Start docker engine with dind dockerd & (if not using remote docker engine)
  • bootstrap your buildx with
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker context create xbuilder
docker buildx create xbuilder --name xbuilder --use
docker buildx inspect --bootstrap
  • use docker and docker buildx as usual

Examples

Docker image DockerHub pulls DockerHub stars architectures

Build images and deploy with helm

  • based on drpsychick/dind-buildx
  • includes kubectl and helm so you can build your image and deploy with kubectl and/or helm

Usage

Same as above plus:

  • provide kubernetes config and point to it with $KUBECONFIG
  • use kubectl and helm to deploy to your kubernetes cluster

Docker image DockerHub pulls DockerHub stars architectures

Build images, test helm charts and deploy to kind

  • based on drpsychick/dind-buildx-helm
  • includes ct and kind so you can test your helm chart and deploy it to a kind node

Usage

Same as above plus:

  • start a kind cluster with kind create cluster
  • optionally forward localhost to docker engine host, if using remote docker engine
  • test install your charts using ct

Examples

Images without buildx

Docker image DockerHub pulls DockerHub stars architectures

Build images and deploy with helm (without buildx)

  • based on docker:dind
  • includes kubectl and helm so you can build your image and deploy with kubectl and/or helm

Usage

Same as above plus:

  • provide kubernetes config and point to it with $KUBECONFIG
  • use kubectl and helm to deploy to your kubernetes cluster

Docker image DockerHub pulls DockerHub stars architectures

Build images, test helm charts and deploy to kind (without buildx)

  • based on drpsychick/dind-helm
  • includes ct and kind so you can test your helm chart and deploy it to a kind node

Usage

Same as above plus:

  • start a kind cluster with kind create cluster
  • optionally forward localhost to docker engine host, if using remote docker engine
  • test install your charts using ct

Images for Kubernetes pipelines

Docker image DockerHub pulls DockerHub stars architectures

Add apps to ArgoCD running on your Kubernetes cluster

  • based on bitnami/argo-cd
  • includes kubectl, kubeval and kubeseal so you can validate your manifests and encrypt your secrets for git
  • includes helm, kustomize, ct so you can generate manifests and test your helm chart

Usage

  • use it as pipeline image to control ArgoCD: install/sync apps, change RBAC, add repos, ...
  • template charts with helm and lint your charts using ct
  • kustomize for environments and validate your manifests with kubeval

Images for Ansible pipelines

Docker image DockerHub pulls DockerHub stars architectures

Run Ansible playbooks

  • based on ubuntu or alpine
  • includes ansible, ansible-galaxy, ansible-lint

Usage

  • use it as pipeline image to run Ansible playbooks and lint or test Ansible roles or playbooks.

Docker image DockerHub pulls DockerHub stars architectures

Run Ansible playbooks

  • based on ubuntu or alpine
  • includes ansible, ansible-galaxy, ansible-lint

Usage

  • use it as pipeline image to run Ansible playbooks and lint or test Ansible roles or playbooks.

About

docker:dind with buildx included / kubernetes images with kind, helm, kustomize, argocd, ... / ansible images

Topics

Resources

License

Stars

Watchers

Forks