{"id":23773384,"url":"https://github.com/beenotung/gen-dockerfile-install","last_synced_at":"2026-05-07T08:34:27.995Z","repository":{"id":74246042,"uuid":"399433360","full_name":"beenotung/gen-dockerfile-install","owner":"beenotung","description":"auto generate npm install script for each dependency in Dockerfile for caching","archived":false,"fork":false,"pushed_at":"2022-02-25T15:28:33.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T19:43:12.421Z","etag":null,"topics":["dependency-management","dockerfile","npm","npm-scripts"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beenotung.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-24T11:04:26.000Z","updated_at":"2022-09-24T20:16:15.000Z","dependencies_parsed_at":"2023-07-11T14:35:32.136Z","dependency_job_id":null,"html_url":"https://github.com/beenotung/gen-dockerfile-install","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beenotung%2Fgen-dockerfile-install","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beenotung%2Fgen-dockerfile-install/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beenotung%2Fgen-dockerfile-install/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beenotung%2Fgen-dockerfile-install/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beenotung","download_url":"https://codeload.github.com/beenotung/gen-dockerfile-install/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239960670,"owners_count":19725358,"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":["dependency-management","dockerfile","npm","npm-scripts"],"created_at":"2025-01-01T05:39:34.650Z","updated_at":"2026-04-03T02:30:22.428Z","avatar_url":"https://github.com/beenotung.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gen-dockerfile-install\n\nauto generate npm install script for each dependency in Dockerfile for caching\n\n[![npm Package Version](https://img.shields.io/npm/v/gen-dockerfile-install.svg?maxAge=3600)](https://www.npmjs.com/package/gen-dockerfile-install)\n\n## Installation\n```bash\nnpm i -g gen-dockerfile-install\n```\n\nYou can install it with npm directly (no need to reach for yarn or pnpm because this package does not depend on other packages).\n\nIf you do not prefer to install it globally, you can run it with `npx gen-dockerfile-install`, which will download and execute it without installation.\n\n## Usage Example\n```bash\n# init the Dockerfile\n\u003e gen-dockerfile-install --init\n\n# update Dockerfile according to the dependency list in package.json\n\u003e gen-dockerfile-install\n\n# install new packages in batch\n\u003e COMPACT_INSTALL=true gen-dockerfile-install\n```\n\n## License\n\nThis project is licensed with [BSD-2-Clause](./LICENSE)\n\nThis is free, libre, and open-source software. It comes down to four essential freedoms [[ref]](https://seirdy.one/2021/01/27/whatsapp-and-the-domestication-of-users.html#fnref:2):\n\n- The freedom to run the program as you wish, for any purpose\n- The freedom to study how the program works, and change it so it does your computing as you wish\n- The freedom to redistribute copies so you can help others\n- The freedom to distribute copies of your modified versions to others\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeenotung%2Fgen-dockerfile-install","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeenotung%2Fgen-dockerfile-install","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeenotung%2Fgen-dockerfile-install/lists"}