Skip to main content

EpicMorg: Kaniko-Compose Wrapper - CLI wrapper for Kaniko build system

Project description

Activity GitHub issues GitHub forks GitHub stars Size Release GitHub license Changelog PyPI - Downloads

Description

Python wrapper for run kaniko from shell with parameters from docker-compose.yml file.

Motivation

  1. You have Docker project thar contains: 1.1 docker-compose.yml - as build manifest 1.2 One or more Dockerfiles in project
  2. You want to automate builds with kaniko build system.
  3. kaniko dont support docker-compose.yml builds.

How to

pip install kaniko-wapper
cd <...>/directory/contains/docker/and/docker-compose-file/
kaniko-wapper

Arguments (examples)

  • --compose-file - Path to docker-compose.yml file
  • --kaniko-image Kaniko executor image (def. gcr.io/kaniko-project/executor:latest)
  • --push, --deploy, -d, -p - Deploy the built images to the registry
  • --dry-run, --dry - Dry run: build images without pushing and with cleanup
  • --version, -v - Show script version
  • --help, -h - Show this help message and exit

Supported features (example):

  1. Single project in docker-compose.yml
services:
  app:
    image: "EpicMorg/kaniko-wrapper:image"
    build:
      context: .
      dockerfile: ./Dockerfile
  1. Multiproject in docker-compose.yml
services:
  app:
    image: "EpicMorg/kaniko-wrapper:image-jdk11"
    build:
      context: .
  app-develop:
    image: "EpicMorg/kaniko-wrapper:image-develop-jdk11"
    build:
      context: .
      dockerfile: ./Dockerfile.develop
  app-develop-17:
    image: "epicmorg/astralinux:image-develop-jdk17"
    build:
      context: .
      dockerfile: ./Dockerfile.develop-17

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kaniko_wrapper-1.1.0.1.tar.gz (7.1 kB view hashes)

Uploaded Source

Built Distribution

kaniko_wrapper-1.1.0.1-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page