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-wrapper
cd <...>/directory/contains/docker/and/docker-compose-file/
kaniko-wrapper

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-2.0.0.1.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kaniko_wrapper-2.0.0.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file kaniko_wrapper-2.0.0.1.tar.gz.

File metadata

  • Download URL: kaniko_wrapper-2.0.0.1.tar.gz
  • Upload date:
  • Size: 18.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for kaniko_wrapper-2.0.0.1.tar.gz
Algorithm Hash digest
SHA256 2f53b69110b653499d43abddd75d375aef0277f3676d0bae74b9425375ca54e9
MD5 625cb414a31313b3250657c591ae5648
BLAKE2b-256 85ae415602a27a800ff6f4c6680aed58e671d6c11cbdef121e9336db796500c5

See more details on using hashes here.

File details

Details for the file kaniko_wrapper-2.0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for kaniko_wrapper-2.0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d1940c4b2e7fbdd224f480d2ee62536654f72f01bbfd929395d9aa8ad45972a8
MD5 6cbff12638b062dff62638014dcad0a3
BLAKE2b-256 ef530e130d78949189551d1e8f786218475f22a6c31a44b6772fca6523cedd79

See more details on using hashes here.

Supported by

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