{"id":17477826,"url":"https://github.com/nxexox/pykaniko","last_synced_at":"2025-06-10T23:05:39.189Z","repository":{"id":39993650,"uuid":"213221740","full_name":"nxexox/pykaniko","owner":"nxexox","description":"Python client for Google Kaniko","archived":false,"fork":false,"pushed_at":"2022-07-19T09:14:43.000Z","size":15,"stargazers_count":11,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-22T10:38:27.774Z","etag":null,"topics":["docker","google","kaniko","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nxexox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-06T18:29:36.000Z","updated_at":"2024-10-02T05:02:05.000Z","dependencies_parsed_at":"2022-08-27T18:42:50.402Z","dependency_job_id":null,"html_url":"https://github.com/nxexox/pykaniko","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxexox%2Fpykaniko","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxexox%2Fpykaniko/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxexox%2Fpykaniko/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxexox%2Fpykaniko/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nxexox","download_url":"https://codeload.github.com/nxexox/pykaniko/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nxexox%2Fpykaniko/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259166901,"owners_count":22815587,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","google","kaniko","python"],"created_at":"2024-10-18T20:09:49.534Z","updated_at":"2025-06-10T23:05:39.164Z","avatar_url":"https://github.com/nxexox.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### [Kaniko](https://github.com/GoogleContainerTools/kaniko) is a tool to build container images from a Dockerfile\n\n---\n\n#### How to install\nFor installation kaniko add in your Dockerfile the next lines\n```\nFROM gcr.io/kaniko-project/executor:v0.12.0 AS kaniko\n\nFROM \u003cyour docker repo\u003e\n\nENV DOCKER_CONFIG /kaniko/.docker\n\nCOPY --from=kaniko /kaniko /kaniko\n...\n```\n\n**pip**\n```\npip install kaniko\n```\n\n---\n\n#### How to use:\n```python\nfrom kaniko import Kaniko, KanikoSnapshotMode\n\nkaniko = Kaniko()\nkaniko.dockerfile = '/path/to/Dockerfile'\nkaniko.no_push = True\nkaniko.snapshot_mode = KanikoSnapshotMode.full\n\nbuild_logs = kaniko.build()  # List[str]\n```\n\nAnother way:\n```python\nfrom kaniko import Kaniko, KanikoSnapshotMode\n\nkaniko = Kaniko()\nbuild_logs = kaniko.build(\n    docker_registry_uri='https://index.docker.io/v1/',\n    registry_username='username',\n    registry_password='password',\n    destination='path-to-repo:tag',\n    dockerfile='/path/to/Dockerfile',\n    snapshot_mode=KanikoSnapshotMode.full,\n)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxexox%2Fpykaniko","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnxexox%2Fpykaniko","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnxexox%2Fpykaniko/lists"}