{"id":15691667,"url":"https://github.com/garethr/dockerfilepp","last_synced_at":"2025-05-08T01:13:34.617Z","repository":{"id":57551422,"uuid":"63541322","full_name":"garethr/dockerfilepp","owner":"garethr","description":"Library for writing your own Dockerfile pre-processors","archived":false,"fork":false,"pushed_at":"2016-09-06T08:28:57.000Z","size":7,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-08T01:13:28.280Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garethr.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}},"created_at":"2016-07-17T16:21:51.000Z","updated_at":"2022-01-09T15:26:46.000Z","dependencies_parsed_at":"2022-09-26T18:41:28.403Z","dependency_job_id":null,"html_url":"https://github.com/garethr/dockerfilepp","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/garethr%2Fdockerfilepp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethr%2Fdockerfilepp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethr%2Fdockerfilepp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garethr%2Fdockerfilepp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garethr","download_url":"https://codeload.github.com/garethr/dockerfilepp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252978783,"owners_count":21834917,"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":"2024-10-03T18:22:52.958Z","updated_at":"2025-05-08T01:13:34.594Z","avatar_url":"https://github.com/garethr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"A simple library for building Dockerfile pre-processors.\n\n[![Build\nStatus](https://travis-ci.org/garethr/dockerfilepp.svg)](https://travis-ci.org/garethr/dockerfilepp)\n[![Go Report\nCard](https://goreportcard.com/badge/github.com/garethr/dockerfilepp)](https://goreportcard.com/report/github.com/garethr/dockerfilepp)\n[![GoDoc](https://godoc.org/github.com/garethr/dockerfilepp?status.svg)](https://godoc.org/github.com/garethr/dockerfilepp)\n\nDockerfile pre-processors aim to make extending Dockerfile with new\ndomain-specific instructions easy. Simply build your own pre-processor\nand pipe Dockerfiles in on stdin.\n\nHere is a simple hello world usage of the API:\n\n```go\npackage main\n\nimport (\n    \"github.com/garethr/dockerfilepp\"\n)\n\nfunc main() {\n    replacements := map[string]string{\n        \"CUSTOM_INSTALL\": \"RUN apt-get install thing\",\n        \"CUSTOM_ECHO\": \"RUN echo hello\",\n    }\n    dockerfilepp.Process(replacements, \"include comprehensive help text here\")\n}\n```\n\nAs a example implementation see [dockerfilepp-puppet](https://github.com/garethr/dockerfilepp-puppet)\nwhich uses local files compiled into the binary rather than hard coded\nvariables.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarethr%2Fdockerfilepp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarethr%2Fdockerfilepp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarethr%2Fdockerfilepp/lists"}