You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by gi...@git.apache.org on 2017/05/29 14:03:20 UTC
[GitHub] csantanapr commented on issue #2311: Update nodejs6 runtime with utilities to allow building node_modules binaries
csantanapr commented on issue #2311: Update nodejs6 runtime with utilities to allow building node_modules binaries
URL: https://github.com/apache/incubator-openwhisk/issues/2311#issuecomment-304668430
In addition we should look into reducing the amount of disk space consume by the nodejs runtime
- Using `--production` when running `npm install` will avoid installing `devDependencies`
- Going over the node_modules, and write a script to delete any test directories or installer directories
For example if adding `ibm_db` it adds 80MB of installer code `node_modules/ibm_db/installer` not required for execution
- Have all the `RUN` statements in a single `RUN` encapsulated in a single script ~setup.sh
- Any others :-)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services