{"id":28224539,"url":"https://github.com/max-te/kleinladungstraeger","last_synced_at":"2025-06-12T07:30:50.975Z","repository":{"id":290432108,"uuid":"973647233","full_name":"max-te/kleinladungstraeger","owner":"max-te","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-27T20:29:02.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-27T21:24:10.326Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/max-te.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,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-27T12:49:30.000Z","updated_at":"2025-05-27T20:29:07.000Z","dependencies_parsed_at":"2025-04-28T20:33:49.887Z","dependency_job_id":"10a6b2a8-4f75-46b6-973f-3e2d947bcb24","html_url":"https://github.com/max-te/kleinladungstraeger","commit_stats":null,"previous_names":["max-te/kleinladungstraeger"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/max-te/kleinladungstraeger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fkleinladungstraeger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fkleinladungstraeger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fkleinladungstraeger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fkleinladungstraeger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/max-te","download_url":"https://codeload.github.com/max-te/kleinladungstraeger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/max-te%2Fkleinladungstraeger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259420382,"owners_count":22854565,"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":[],"created_at":"2025-05-18T09:12:12.023Z","updated_at":"2025-06-12T07:30:50.964Z","avatar_url":"https://github.com/max-te.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kleinladungsträger\n\nKleinladungsträger (klt) builds an OCI/docker image based on a recipe.\nThe recipe describes a base image and modifications to apply.\n\nThe recipe is a toml file like this:\n\n```toml\n[base]\nimage = \"gcr.io/distroless/cc-debian12:latest\"\n\n[target]\nregistry = \"ghcr.io\"\nrepo = \"max-te/kleinladungstraeger\"\ntags = [\"latest\", \"distroless\"]\nauth = [\"max-te\", \"$GITHUB_TOKEN\"]\n\n[modification]\napp_layer_folder = \"target/docker/usr/bin\"\n\n[modification.execution_config]\nCmd = [\"/klt\"]\n\n[modification.execution_config.Labels]\n\"org.opencontainers.image.source\" = \"https://github.com/max-te/kleinladungstraeger\"\n\n[modification.annotations]\n\"org.opencontainers.image.source\" = \"https://github.com/max-te/kleinladungstraeger\"\n\n```\n\nThe `base` section describes the base image.\nThe `target` section describes the target image.\nThe `modification` section describes the modifications to apply.\n\nThe `app_layer_folder` is a path to a folder that will be added as a layer to the image.\nNote that klt achieves its effictiency by not doing the same thing as the `COPY` command in Dockerfiles:\nIt does not follow symlinks in the base image.\n\nThe `execution_config` section allows patching the execution config of the image,\nsupported keys are:\n\n- `Cmd`\n- `User`\n- `WorkingDir`\n- `StopSignal`\n- `Env`\n- `Volumes`\n- `Labels`\n\nValues must be in the format specified by the [OCI Image Specification](https://github.com/opencontainers/image-spec/blob/c05acf7eb327dae4704a4efe01253a0e60af6b34/config.md?plain=1#L131-L209).\n\nThe `annotations` section allows defining annotations for the image manifest.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-te%2Fkleinladungstraeger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmax-te%2Fkleinladungstraeger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmax-te%2Fkleinladungstraeger/lists"}