1.1.1 • Published 2 years ago

gen-dockerfile-install v1.1.1

Weekly downloads
-
License
BSD-2-Clause
Repository
github
Last release
2 years ago

gen-dockerfile-install

auto generate npm install script for each dependency in Dockerfile for caching

npm Package Version

Installation

npm i -g gen-dockerfile-install

You can install it with npm directly (no need to reach for yarn or pnpm because this package does not depend on other packages).

If 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.

Usage Example

# init the Dockerfile
> gen-dockerfile-install --init

# update Dockerfile according to the dependency list in package.json
> gen-dockerfile-install

# install new packages in batch
> COMPACT_INSTALL=true gen-dockerfile-install

License

This project is licensed with BSD-2-Clause

This is free, libre, and open-source software. It comes down to four essential freedoms [ref]:

  • The freedom to run the program as you wish, for any purpose
  • The freedom to study how the program works, and change it so it does your computing as you wish
  • The freedom to redistribute copies so you can help others
  • The freedom to distribute copies of your modified versions to others
1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago