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-3.0.0.0a0.tar.gz (17.0 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-3.0.0.0a0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file kaniko_wrapper-3.0.0.0a0.tar.gz.

File metadata

  • Download URL: kaniko_wrapper-3.0.0.0a0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for kaniko_wrapper-3.0.0.0a0.tar.gz
Algorithm Hash digest
SHA256 739962eac4ca24f4f4e342c97cb4e5a287f0254521a511766adc020d63772b5d
MD5 6ab2ecee31ddf1e07ebcce26bc59cec5
BLAKE2b-256 78dcc38abe2198c46403584fbb7033ac3ae6dfee5a58cd8106a797a82a1294a3

See more details on using hashes here.

File details

Details for the file kaniko_wrapper-3.0.0.0a0-py3-none-any.whl.

File metadata

File hashes

Hashes for kaniko_wrapper-3.0.0.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 d485eaf1b0d2a4923ab8b5754f3e94377196f212e4f46ad0078316381f9fa053
MD5 fbe5820ad68c7e16a2e0b9dcaa3ccd26
BLAKE2b-256 54fa82d9bdd70759e5cc290752eee41b842b20e6a393dcf229f286c15357fb34

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