-
Notifications
You must be signed in to change notification settings - Fork 15
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
Improve caching during build #10
base: leia
Are you sure you want to change the base?
Conversation
This improves caching even if build stage is completely rewritten
The packages installed are the same, why download things twice. Also, DEBIAN_FRONTEND is dropped, it's not necessary at this point.
@milaq: I think this is good to merge. I got things done I needed to (xbmc/xbmc#16777 (comment)). Thanks for having a baseline for this. I might submit more changes in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure why the portable data folder should reside in /usr/local/share/
.
The regular installation looks for it in /usr/share/kodi/
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The packages we install in the deploystage differ from the buildstage as we install only the necessary packages in order to run Kodi without any development packages.
This way the resulting image itself is way smaller.
As I put together the package list I wasn't paying close attention to overlaps.
Maybe we need to have a look at the package list again and find similarities.
Thanks for your endeavours and sorry for the review delay; I am quite busy with RL atm :( |
This improves caching even if build stage is completely rewritten. The commands have been re-ordered to improve caching and prevent extra repeated downloads.
Commit messages explain the best.