EpicMorg: Kaniko-Compose Wrapper - CLI wrapper for Kaniko build system
Project description
kaniko-wrapper
Python wrapper for run kaniko from shell with parameters from docker-compose.yml
file.
Motivation
- You have Docker project thar contains:
1.1
docker-compose.yml
- as build manifest 1.2 One or moreDockerfile
s in project - You want to automate builds with
kaniko
build system. kaniko
dont supportdocker-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):
- Single project in
docker-compose.yml
services:
app:
image: "epicmorg/docker:image"
build:
context: .
dockerfile: ./Dockerfile
- Multiproject in
docker-compose.yml
services:
app:
image: "epicmorg/docker:image-jdk11"
build:
context: .
app-develop:
image: "epicmorg/docker: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
Release history Release notifications | RSS feed
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.0.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for kaniko_wrapper-1.1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efbf466fa06eda5ec6b2f4710677bd3b6d16b45c8be8fa206da87c52352aa56b |
|
MD5 | 18b4440a2f5658cb01ffb5ba59b4c527 |
|
BLAKE2b-256 | 792fcb3686dd8c2e2819f6d3e52f6b60581a0f892852f020c2b86f2f5f8835c0 |