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
- dry run--compose-file
- set path to compose file;--kaniko-image
- set another version of kaniko image;kaniko-wapper --kaniko-image gcr.io/kaniko-project/executor:v1.6.0
--deploy
- deploy afrer build:kaniko-wapper --kaniko-image gcr.io/kaniko-project/executor:v1.6.0 --deploy
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.0.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for kaniko_wrapper-0.0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d398e46e3c1c6b4ac6a9fdd355a42d0ace995e1480b7faa49cc974ae52e4e97 |
|
MD5 | b9041de7a34689315e70ec4cda743488 |
|
BLAKE2b-256 | f1be2934abb7fc284add9602569afa3a4f57ccdfc3eef49615508ba441bab454 |