{"id":21314357,"url":"https://github.com/zon-dev/docker-zig","last_synced_at":"2025-03-15T21:15:28.480Z","repository":{"id":226857116,"uuid":"769817189","full_name":"zon-dev/docker-zig","owner":"zon-dev","description":"Docker for zig programming language ","archived":false,"fork":false,"pushed_at":"2024-07-17T03:31:46.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-10T01:01:53.254Z","etag":null,"topics":["dockerfile","dockerlized","zig","ziglang"],"latest_commit_sha":null,"homepage":"https://zon.dev","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zon-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-03-10T06:18:26.000Z","updated_at":"2024-10-13T15:37:27.000Z","dependencies_parsed_at":"2024-03-10T07:29:32.587Z","dependency_job_id":"93a6852e-22d8-40fd-8416-e70fd5d5ffa6","html_url":"https://github.com/zon-dev/docker-zig","commit_stats":null,"previous_names":["dravenk/docker-zig","zon-dev/docker-zig"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fdocker-zig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fdocker-zig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fdocker-zig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zon-dev%2Fdocker-zig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zon-dev","download_url":"https://codeload.github.com/zon-dev/docker-zig/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243790999,"owners_count":20348385,"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":["dockerfile","dockerlized","zig","ziglang"],"created_at":"2024-11-21T18:12:33.099Z","updated_at":"2025-03-15T21:15:28.442Z","avatar_url":"https://github.com/zon-dev.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How To Build and Deploy a Zig application with Docker\n\n## Usage\n\n```bash\ndocker build -t ziglang .\n```\n\n```bash\ndocker run -it --rm ziglang\n```\n\nGo to the application directory and use zig in docker to build and run your application. For example. Create a [hello-world](https://ziglang.org/documentation/master/#Hello-World) program and run it with docker.\n```bash\necho '\nconst std = @import(\"std\");\n\npub fn main() void {\n    std.debug.print(\"Hello, world!\\n\", .{});\n}\n' \u003e hello.zig\n```\nNow, run your `hello-world` program.\n```bash\ndocker run -it --rm -v $PWD:/opt/app ziglang zig run hello.zig\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzon-dev%2Fdocker-zig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzon-dev%2Fdocker-zig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzon-dev%2Fdocker-zig/lists"}