{"id":13513174,"url":"https://github.com/brennerm/cdk8s-docker","last_synced_at":"2025-06-20T06:36:56.554Z","repository":{"id":85590385,"uuid":"262685366","full_name":"brennerm/cdk8s-docker","owner":"brennerm","description":"inofficial Docker image for cdk8s","archived":false,"fork":false,"pushed_at":"2020-05-11T19:49:00.000Z","size":4,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T21:41:29.513Z","etag":null,"topics":["cdk8s","kubernetes","kubernetes-manifests"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brennerm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-05-10T00:42:15.000Z","updated_at":"2024-06-04T17:24:33.000Z","dependencies_parsed_at":"2023-05-06T04:47:14.549Z","dependency_job_id":null,"html_url":"https://github.com/brennerm/cdk8s-docker","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/brennerm%2Fcdk8s-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Fcdk8s-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Fcdk8s-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brennerm%2Fcdk8s-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brennerm","download_url":"https://codeload.github.com/brennerm/cdk8s-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252430979,"owners_count":21746753,"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":["cdk8s","kubernetes","kubernetes-manifests"],"created_at":"2024-08-01T04:00:42.251Z","updated_at":"2025-05-05T03:24:29.133Z","avatar_url":"https://github.com/brennerm.png","language":"Shell","funding_links":[],"categories":["Packages"],"sub_categories":[],"readme":"## Initializing a new app\nInitializing a new app requires you to mount the target directory into the container like so: `docker run -v /my-new-cdk8s-project:/files brennerm/cdk8s init typescript-app`.\n\n## Synthesizing your app\nSynthesizing works similar but instead of mounting an empty directory you need to mount the directory containing your cdk8s code. This could look like: `docker run -v /my-existing-cdk8s-project:/files brennerm/cdk8s synth`.\n\n## Synthezising Python code\nTo be able to synthesize Python cdk8s code you need to use the _brennerm/cdk8s:python_ image. It contains additional dependencies like Python 3.7 and pipenv.\n\n## Setting the owner of generated files\nNo matter if you are initializing a new app or synthesizing your manifests, all generated files will have a root ownership afterwards. This happens cause cdk8s is being executed as root to be able to read and write files from and to the volume due to [this issue](https://github.com/moby/moby/issues/2259). To fix this you can pass the `-u uid=$(id -u)` parameter to the `docker run command`. Tried to prevent executing as root but currently it does not seem possible while keeping a good user experience of the resulting image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrennerm%2Fcdk8s-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrennerm%2Fcdk8s-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrennerm%2Fcdk8s-docker/lists"}