-
Notifications
You must be signed in to change notification settings - Fork 531
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
Add deprecation warning to apk-install #18
Conversation
No comments? Should we merge this? |
Can you remove |
replacing apk-install docs with note on removing the apk cache.
👍 |
Not sure why we should learn the canonical way to install packages. If that's the reason, we could also remove the package manager and learn how to compile from source (exaggerating here). I'm a big fan of In the same vein, we created blendle/docker-base to help us extract common tasks to a higher level. Obviously, we can simply move this to our own repo, but just voicing my opinion here that |
Thanks for the feedback. Anybody else? On Mon, Jun 1, 2015 at 2:31 AM, Jean Mertz [email protected] wrote:
Jeff Lindsay |
i like |
❤️ |
I don't use |
I'm chiming in to say that even though we've only been using this Alpine image for a month because previously we were Ubuntu users, I think the script serves no purpose that most don't already do manually themselves, we never even noticed this existed in the first place and we only need to clean the cache once so it really adds no benefit. |
How about adding a |
@ncopa |
@frol better suggestions for a flag that disables all caching, including APKINDEX.tar.gz? |
added request upstream: http://bugs.alpinelinux.org/issues/4905 |
@ncopa How about using two flags? |
@ncopa Another option might be |
We ended up with This will be available from v3.3.0_rc2. |
@ncopa Will this still cache |
apk will not cache This should be slightly faster too as it reduces disk IO. |
@ncopa This sounds great! Thank you! |
Rebase and push if we still want to add this warning. |
Proposal to deprecate
apk-install
now that there is an official alpine Docker image that does not include this helper script. Droppingapk-install
will encourage more consistent usage of the canonical method of installing packages. It minimizes the differences between official and Glider Labs images, which is good for (new) users and good for maintainers.This also puts pressure on a more proper solution to removing the cache, such as adding a
--no-cache
option toapk add
upstream, as opposed to maintaining a minimal script in a non-official image.