{"id":15419274,"url":"https://github.com/mthalman/dockerfilemodel","last_synced_at":"2025-04-19T14:51:43.651Z","repository":{"id":45589984,"uuid":"291256127","full_name":"mthalman/DockerfileModel","owner":"mthalman","description":"A structured model of Dockerfiles for parsing and generating","archived":false,"fork":false,"pushed_at":"2025-02-12T19:41:33.000Z","size":642,"stargazers_count":12,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-23T23:33:00.370Z","etag":null,"topics":["docker","dockerfiles"],"latest_commit_sha":null,"homepage":"","language":"C#","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/mthalman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2020-08-29T11:14:50.000Z","updated_at":"2025-02-12T19:41:23.000Z","dependencies_parsed_at":"2024-10-20T01:42:22.956Z","dependency_job_id":null,"html_url":"https://github.com/mthalman/DockerfileModel","commit_stats":{"total_commits":102,"total_committers":1,"mean_commits":102.0,"dds":0.0,"last_synced_commit":"fe5aa4e64a0ca2648b357b36ef62f6c8782369fe"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mthalman%2FDockerfileModel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mthalman%2FDockerfileModel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mthalman%2FDockerfileModel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mthalman%2FDockerfileModel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mthalman","download_url":"https://codeload.github.com/mthalman/DockerfileModel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241448917,"owners_count":19964531,"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","dockerfiles"],"created_at":"2024-10-01T17:24:36.784Z","updated_at":"2025-03-02T02:32:09.754Z","avatar_url":"https://github.com/mthalman.png","language":"C#","readme":"# Dockerfile Model Library\n\nThis .NET library provides a structured model of the Dockerfile syntax for the purposes of parsing and generating Dockerfiles. It provides full fidelity of the file contents meaning that the parsed content can be output back to a string and produce the same content character-for-character, including whitespace. This makes it ideal for parsing as well as workflows that require programmatically modifying existing Dockerfiles.\n\n## Key Features\n\n* A high-level model for interacting with Dockerfile constructs.\n* Access to the underlying tokens that make up the higher-level model.\n* Full fidelity for input and output: the model's output is identical to the Dockerfile input.\n* Resolve ARG values that are referenced throughout a Dockerfile.\n* Ability to further organize a Dockerfile model in terms of its stages.\n\n## Usage\n\nThe library is available as a NuGet package: [Valleysoft.DockerfileModel](https://www.nuget.org/packages/Valleysoft.DockerfileModel/).\n\nFor code examples, check out the [scenario tests](https://github.com/mthalman/DockerfileModel/blob/main/src/Valleysoft.DockerfileModel.Tests/ScenarioTests.cs) which demonstrate how the API can be used for various scenarios.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmthalman%2Fdockerfilemodel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmthalman%2Fdockerfilemodel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmthalman%2Fdockerfilemodel/lists"}