Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't do unnecessary upgrade in docker image #22

Merged
merged 2 commits into from
Mar 26, 2018

Conversation

gntech
Copy link
Contributor

@gntech gntech commented Mar 26, 2018

You can avoid unnecessary package downloads by not running plain "apt-get upgrade" in the script.

All dependent packages to the one you explicit install will be upgraded so no need to upgrade other stuff.

Also the -qq silence the output a bit so logs does not get overflown.

Silence the apt-get commands to get less log output
Dont run apt-get upgrade to minimize unneccessary package downloads
@ddennedy ddennedy merged commit 35f97fc into mltframework:master Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants