{"id":15399425,"url":"https://github.com/raviqqe/dockerfile-dsl.rb","last_synced_at":"2025-04-16T01:49:07.015Z","repository":{"id":62557327,"uuid":"71681485","full_name":"raviqqe/dockerfile-dsl.rb","owner":"raviqqe","description":"Dockerfile DSL in Ruby","archived":false,"fork":false,"pushed_at":"2016-10-23T19:52:18.000Z","size":31,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T01:07:26.236Z","etag":null,"topics":["docker","dsl","ruby"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raviqqe.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}},"created_at":"2016-10-23T04:23:56.000Z","updated_at":"2021-08-08T00:53:07.000Z","dependencies_parsed_at":"2022-11-03T06:15:41.717Z","dependency_job_id":null,"html_url":"https://github.com/raviqqe/dockerfile-dsl.rb","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/raviqqe%2Fdockerfile-dsl.rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviqqe%2Fdockerfile-dsl.rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviqqe%2Fdockerfile-dsl.rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raviqqe%2Fdockerfile-dsl.rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raviqqe","download_url":"https://codeload.github.com/raviqqe/dockerfile-dsl.rb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249183038,"owners_count":21226123,"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","dsl","ruby"],"created_at":"2024-10-01T15:48:42.055Z","updated_at":"2025-04-16T01:49:06.995Z","avatar_url":"https://github.com/raviqqe.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dockerfile-dsl\n\n[![Build Status](https://travis-ci.org/raviqqe/dockerfile-dsl.rb.svg?branch=master)](https://travis-ci.org/raviqqe/dockerfile-dsl.rb)\n[![License](https://img.shields.io/badge/license-unlicense-lightgray.svg)](https://unlicense.org)\n\nDockerfile DSL in Ruby\n\n## Installation\n\n```\n$ gem install dockerfile-dsl\n```\n\n## Usage\n\nCode:\n\n```ruby\nrequire 'dockerfile-dsl'\n\nfile = dockerfile do\n  from :ubuntu\n  run 'sudo apt install nginx'\n  add 'nginx.conf', '/etc/nginx.conf'\n  cmd [:service, :nginx, :start]\nend\n\nputs file\n```\n\nOutput:\n\n```dockerfile\nFROM ubuntu\nRUN sudo apt install nginx\nADD nginx.conf /etc/nginx.conf\nCMD [\"service\", \"nginx\", \"start\"]\n```\n\nFor more examples, see [examples](examples) directory.\n\n## License\n\n[The Unlicense](https://unlicense.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraviqqe%2Fdockerfile-dsl.rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraviqqe%2Fdockerfile-dsl.rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraviqqe%2Fdockerfile-dsl.rb/lists"}