CLI wrapper for Kaniko build sysytem
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)
--dry-run
,--dry
- Dry run: build images without pushing and with cleanup--compose-file
- Path todocker-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
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-0.0.1.1.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for kaniko_wrapper-0.0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd6efbd95a402e67e13e4a7ec5238b831d65403f11d7521b3360d578849250c6 |
|
MD5 | 2d0511d18f6bc00ecddc144cfdb0cf4f |
|
BLAKE2b-256 | 7815b0ff29d623c8b0f086e1be5f709eb0ed493becd8f2e48d88c26535cf35a4 |