{"id":18687339,"url":"https://github.com/junosuarez/dockerfile","last_synced_at":"2025-04-12T05:27:18.556Z","repository":{"id":9533994,"uuid":"11436296","full_name":"junosuarez/dockerfile","owner":"junosuarez","description":"npm module for working with Docker.io Dockerfiles","archived":false,"fork":false,"pushed_at":"2013-10-31T23:52:25.000Z","size":109,"stargazers_count":9,"open_issues_count":0,"forks_count":3,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-10T15:36:25.881Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/junosuarez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-15T23:39:34.000Z","updated_at":"2023-10-28T22:00:09.000Z","dependencies_parsed_at":"2022-08-25T23:30:25.120Z","dependency_job_id":null,"html_url":"https://github.com/junosuarez/dockerfile","commit_stats":null,"previous_names":["agilemd/dockerfile"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fdockerfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fdockerfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fdockerfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/junosuarez%2Fdockerfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/junosuarez","download_url":"https://codeload.github.com/junosuarez/dockerfile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248521406,"owners_count":21118065,"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-11-07T10:32:30.661Z","updated_at":"2025-04-12T05:27:18.510Z","avatar_url":"https://github.com/junosuarez.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dockerfile\nwork with Dockerfiles from Docker.io\n\n## usage\n```js\nvar dockerfile = require('dockerfile')\n\ndockerfile()\n  .name('test')\n  .rem('a test Dockerfile')\n  .version('0.5.3')\n  .dockerVersion('0.4.8')\n  .maintainer('jden \u003cjason@denizac.org\u003e')\n  .from('ubuntu:12.10')\n  .section('install stuff')\n    .run('apt-get install curl')\n  .section('add some stuff')\n    .add('/src', '/dest')\n  .section('runtime')\n    .env({\n      mode: 'PROD',\n      needs_nachos: 'true'\n    })\n    .entrypoint('/bin/node ./index.js')\n  .export()\n```\n## api\n\nImplements the [Docker Builder](http://docs.docker.io/en/latest/use/builder/) interface.\n\nAdditionally, we support\n\n- `.name()`: give your container a name (should match what you tag it with)\n- `.rem(comment)`: add a 1-line comment\n- `.section(title)`: break up your file with some new lines \u0026 a comment\n\n\n## installation\n\n    $ npm install dockerfile\n\n\n## running the tests\n\nFrom package root:\n\n    $ npm install\n    $ npm test\n\n## todo\n\n- add parse support / JSON ast format\n\n## contributors\n\n- jden \u003cjason@denizac.org\u003e\n\n\n## license\n\nMIT. (c) 2013 AgileMD. See LICENSE.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunosuarez%2Fdockerfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjunosuarez%2Fdockerfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjunosuarez%2Fdockerfile/lists"}