Skip to content

SupportTools/kube-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kube-Builder

License FOSSA Status

kube-builder is a utility image that includes several tools useful in Drone pipelines for building Docker images and deploying them to Kubernetes.

Requirements

  • Docker
  • Drone CI (for pipeline usage)

Installation

Pull the image from Docker Hub:

docker pull supporttools/kube-builder

Included Tools

  • curl - Command line tool for transferring data
  • wget - File retrieval utility
  • openssh-client - SSH connectivity tools
  • git - Version control system
  • zip/unzip - Compression utilities
  • awscli - AWS command line interface
  • rsync - Fast file transfer utility
  • jq - JSON processor
  • ca-certificates - Common CA certificates
  • make - Build automation tool
  • build-essential - C/C++ compiler and development tools
  • gnupg - OpenPGP encryption and signing tool
  • lsb-release - Linux Standard Base version reporting
  • kubectl - Kubernetes command-line tool
  • kustomize - Kubernetes configuration management
  • helm - Kubernetes package manager
  • gh - GitHub CLI tool
  • kube-linter - Static analysis tool for Kubernetes
  • Go - Programming language
  • rancher-projects - Rancher CLI tool
  • Docker - Container platform
  • Docker Buildx - Docker CLI plugin for extended build capabilities

Usage

To use the kube-builder image in your Drone pipelines, specify supporttools/kube-builder as the image name in your .drone.yml file:

pipeline:
  build:
    image: supporttools/kube-builder
    commands:
      - make build
      - make push
      - kubectl apply -f deployment.yaml

This example pipeline runs a make command to build a Docker image, then pushes the image to a Docker registry, and finally deploys the Kubernetes manifest in deployment.yaml using kubectl apply.

You can also use the included tools directly in your pipeline commands:

pipeline:
  build:
    image: supporttools/kube-builder
    commands:
      - kubectl version --client
      - kustomize build overlays/dev | kubectl apply -f -
      - helm upgrade --install my-app chart/

Local Development

You can run the container locally for testing:

docker run -it --rm supporttools/kube-builder /bin/bash

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to your branch
  5. Create a Pull Request

License

kube-builder is licensed under the Apache License, Version 2.0. See the LICENSE file for details.

FOSSA Status

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •