{"id":37097477,"url":"https://github.com/kdwils/dockerfile","last_synced_at":"2026-01-14T11:58:58.440Z","repository":{"id":197330221,"uuid":"698416218","full_name":"kdwils/dockerfile","owner":"kdwils","description":"golang package to help parse and modify dockerfile contents","archived":false,"fork":false,"pushed_at":"2023-10-01T21:50:09.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-19T21:55:28.548Z","etag":null,"topics":["dockerfile","golang","parser"],"latest_commit_sha":null,"homepage":"","language":"Go","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/kdwils.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}},"created_at":"2023-09-29T21:43:42.000Z","updated_at":"2023-09-29T22:13:06.000Z","dependencies_parsed_at":"2024-06-19T21:15:46.635Z","dependency_job_id":"1198279b-ed1e-4dc5-b2c6-e3274147c5c5","html_url":"https://github.com/kdwils/dockerfile","commit_stats":null,"previous_names":["kdwils/dockerfile"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kdwils/dockerfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdwils%2Fdockerfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdwils%2Fdockerfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdwils%2Fdockerfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdwils%2Fdockerfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kdwils","download_url":"https://codeload.github.com/kdwils/dockerfile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdwils%2Fdockerfile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","golang","parser"],"created_at":"2026-01-14T11:58:57.791Z","updated_at":"2026-01-14T11:58:58.435Z","avatar_url":"https://github.com/kdwils.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dockerfile\n\nDockerfile is a package that provides a methods on parsing and updating dockerfile commands. The initial intent of this package was to provide an interface to update base image tags of dockerfiles in a programmatic way. This could be used for automated updates to fix image vulnerabilites, mass image updates, etc.\n\nBehind the scenes, this package is wrapped around buildkit's dockerfile parser, and provides methods to make modifying a dockerfile easier.\n\n# Usage\n\nExample of how to parse the contents of a dockerfile\n```golang\nimport (\n    \"bytes\"\n    \"io\"\n    \"log\"\n    \"os\"\n\n    \"github.com/kdwils/dockerfile\"\n)\nb, err := os.ReadFile(\"Dockerfile\")\nif err != nil {\n    // handle err\n}\n\nd, err := dockerfile.ParseFromReader(bytes.NewReder(b))\nif err != nil {\n    // handle err\n}\n\nerr = d.WriteContents(os.Stdout)\nif err != nil {\n    // handler err\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdwils%2Fdockerfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdwils%2Fdockerfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdwils%2Fdockerfile/lists"}