XervoIO / docker-build-node

The Docker build image for Modulus Node.js applications.
Apache License 2.0
2 stars 1 forks source link

Move input to output, instead of copy #5

Closed kenXengineering closed 8 years ago

kenXengineering commented 8 years ago

Add -y flage to apt-get autoremove. If a program is to be removed, the flag needs to be set or else apt-get will request input, causing the script to end.

Also move the input dir to output dir when building. This reduces the needed size of the build by half as we won't be copying the input to output.

jackboberg commented 8 years ago

Why not:

apt-get autoclean autoremove clean -y

jackboberg commented 8 years ago

I rebased and updated this to be more accurate.