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.0.1.0.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for kaniko_wrapper-1.0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b2468706ff440fe5e65112585676bb916ec838ca08a068632916c617da4686 |
|
MD5 | 63bc6ca4b670cd65c9419a92baab2c2a |
|
BLAKE2b-256 | 9b4f8610066fd730e853330ace4972d9988e127e23b2610f4535e5d60a97846c |