kaniko-wrapper


Namekaniko-wrapper JSON
Version 1.1.1.1 PyPI version JSON
download
home_pageNone
SummaryEpicMorg: Kaniko-Compose Wrapper - CLI wrapper for Kaniko build system
upload_time2024-11-27 13:49:57
maintainerNone
docs_urlNone
authorNone
requires_python>=3.6
licenseMIT License Copyright (c) EpicMorg Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords build docker kaniko
VCS
bugtrack_url
requirements build twine
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # [![Activity](https://img.shields.io/github/commit-activity/m/EpicMorg/kaniko-wrapper?label=commits&style=flat-square)](https://github.com/EpicMorg/kaniko-wrapper/commits) [![GitHub issues](https://img.shields.io/github/issues/EpicMorg/kaniko-wrapper.svg?style=popout-square)](https://github.com/EpicMorg/kaniko-wrapper/issues) [![GitHub forks](https://img.shields.io/github/forks/EpicMorg/kaniko-wrapper.svg?style=popout-square)](https://github.com/EpicMorg/kaniko-wrapper/network) [![GitHub stars](https://img.shields.io/github/stars/EpicMorg/kaniko-wrapper.svg?style=popout-square)](https://github.com/EpicMorg/kaniko-wrapper/stargazers)  [![Size](https://img.shields.io/github/repo-size/EpicMorg/kaniko-wrapper?label=size&style=flat-square)](https://github.com/EpicMorg/kaniko-wrapper/archive/master.zip) [![Release](https://img.shields.io/github/v/release/EpicMorg/kaniko-wrapper?style=flat-square)](https://github.com/EpicMorg/kaniko-wrapper/releases) [![GitHub license](https://img.shields.io/github/license/EpicMorg/kaniko-wrapper.svg?style=popout-square)](LICENSE.md) [![Changelog](https://img.shields.io/badge/Changelog-yellow.svg?style=popout-square)](CHANGELOG.md) [![PyPI - Downloads](https://img.shields.io/pypi/dm/kaniko-wrapper?style=flat-square)](https://pypi.org/project/kaniko-wrapper/)

## 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 `Dockerfile`s 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-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):

1. Single project in `docker-compose.yml`
```
services:
  app:
    image: "EpicMorg/kaniko-wrapper:image"
    build:
      context: .
      dockerfile: ./Dockerfile
```

2. 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
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "kaniko-wrapper",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "EpicMorg <developer@epicm.org>",
    "keywords": "build, docker, kaniko",
    "author": null,
    "author_email": "EpicMorg <developer@epicm.org>",
    "download_url": "https://files.pythonhosted.org/packages/21/b7/4cf74352bbc33d9fde3a28b4cb237bf0458d6d5867620d0b7c23f40e3607/kaniko_wrapper-1.1.1.1.tar.gz",
    "platform": null,
    "description": "# [![Activity](https://img.shields.io/github/commit-activity/m/EpicMorg/kaniko-wrapper?label=commits&style=flat-square)](https://github.com/EpicMorg/kaniko-wrapper/commits) [![GitHub issues](https://img.shields.io/github/issues/EpicMorg/kaniko-wrapper.svg?style=popout-square)](https://github.com/EpicMorg/kaniko-wrapper/issues) [![GitHub forks](https://img.shields.io/github/forks/EpicMorg/kaniko-wrapper.svg?style=popout-square)](https://github.com/EpicMorg/kaniko-wrapper/network) [![GitHub stars](https://img.shields.io/github/stars/EpicMorg/kaniko-wrapper.svg?style=popout-square)](https://github.com/EpicMorg/kaniko-wrapper/stargazers)  [![Size](https://img.shields.io/github/repo-size/EpicMorg/kaniko-wrapper?label=size&style=flat-square)](https://github.com/EpicMorg/kaniko-wrapper/archive/master.zip) [![Release](https://img.shields.io/github/v/release/EpicMorg/kaniko-wrapper?style=flat-square)](https://github.com/EpicMorg/kaniko-wrapper/releases) [![GitHub license](https://img.shields.io/github/license/EpicMorg/kaniko-wrapper.svg?style=popout-square)](LICENSE.md) [![Changelog](https://img.shields.io/badge/Changelog-yellow.svg?style=popout-square)](CHANGELOG.md) [![PyPI - Downloads](https://img.shields.io/pypi/dm/kaniko-wrapper?style=flat-square)](https://pypi.org/project/kaniko-wrapper/)\n\n## Description\nPython wrapper for run kaniko from shell with parameters from `docker-compose.yml` file.\n\n## Motivation\n1. You have Docker project thar contains:\n1.1 `docker-compose.yml` - as build manifest\n1.2 One or more `Dockerfile`s in project\n2. You want to automate builds with `kaniko` build system.\n3. `kaniko` dont support `docker-compose.yml` builds.\n\n## How to\n```\npip install kaniko-wapper\ncd <...>/directory/contains/docker/and/docker-compose-file/\nkaniko-wapper\n```\n\n### Arguments (examples)\n* `--compose-file` - Path to docker-compose.yml file\n* `--kaniko-image` Kaniko executor image (def. `gcr.io/kaniko-project/executor:latest`)\n* `--push`, `--deploy`, `-d`, `-p` - Deploy the built images to the registry\n* `--dry-run`, `--dry` - Dry run: build images without pushing and with cleanup\n* `--version`, `-v` - Show script version\n* `--help`, `-h` - Show this help message and exit\n\n## Supported features (example):\n\n1. Single project in `docker-compose.yml`\n```\nservices:\n  app:\n    image: \"EpicMorg/kaniko-wrapper:image\"\n    build:\n      context: .\n      dockerfile: ./Dockerfile\n```\n\n2. Multiproject in `docker-compose.yml`\n\n```\nservices:\n  app:\n    image: \"EpicMorg/kaniko-wrapper:image-jdk11\"\n    build:\n      context: .\n  app-develop:\n    image: \"EpicMorg/kaniko-wrapper:image-develop-jdk11\"\n    build:\n      context: .\n      dockerfile: ./Dockerfile.develop\n  app-develop-17:\n    image: \"epicmorg/astralinux:image-develop-jdk17\"\n    build:\n      context: .\n      dockerfile: ./Dockerfile.develop-17\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) EpicMorg  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "EpicMorg: Kaniko-Compose Wrapper - CLI wrapper for Kaniko build system",
    "version": "1.1.1.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/EpicMorg/kaniko-wrapper/issues",
        "Changelog": "https://github.com/EpicMorg/kaniko-wrapper/blob/master/CHANGELOG.md",
        "Documentation": "https://github.com/EpicMorg/kaniko-wrapper/blob/master/README.md",
        "Homepage": "https://github.com/EpicMorg/kaniko-wrapper",
        "Repository": "https://github.com/EpicMorg/kaniko-wrapper.git"
    },
    "split_keywords": [
        "build",
        " docker",
        " kaniko"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8f5f135b7f29b4b009bbfafc28f398a002ad5a5ca81dfb2ca92604d7ad8f2323",
                "md5": "11b40f5bdee210a38e3f6f533966ffb4",
                "sha256": "b8d89bac7e418be9801dc4b4b7111687d1ca7ef3335dd2e1a758de617300545a"
            },
            "downloads": -1,
            "filename": "kaniko_wrapper-1.1.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "11b40f5bdee210a38e3f6f533966ffb4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 6406,
            "upload_time": "2024-11-27T13:49:56",
            "upload_time_iso_8601": "2024-11-27T13:49:56.087484Z",
            "url": "https://files.pythonhosted.org/packages/8f/5f/135b7f29b4b009bbfafc28f398a002ad5a5ca81dfb2ca92604d7ad8f2323/kaniko_wrapper-1.1.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "21b74cf74352bbc33d9fde3a28b4cb237bf0458d6d5867620d0b7c23f40e3607",
                "md5": "8fbeaec175921ce1caf2faa47da11bb8",
                "sha256": "15bb9e9621fe9b07978750d2abe8826280316e14fa8a451d07c09afcbc03b635"
            },
            "downloads": -1,
            "filename": "kaniko_wrapper-1.1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "8fbeaec175921ce1caf2faa47da11bb8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 7180,
            "upload_time": "2024-11-27T13:49:57",
            "upload_time_iso_8601": "2024-11-27T13:49:57.837527Z",
            "url": "https://files.pythonhosted.org/packages/21/b7/4cf74352bbc33d9fde3a28b4cb237bf0458d6d5867620d0b7c23f40e3607/kaniko_wrapper-1.1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-27 13:49:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "EpicMorg",
    "github_project": "kaniko-wrapper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "build",
            "specs": []
        },
        {
            "name": "twine",
            "specs": []
        }
    ],
    "lcname": "kaniko-wrapper"
}
        
Elapsed time: 0.39996s