Explicitly empty ~/.cache#103
Merged
tianon merged 1 commit intodocker-library:masterfrom Apr 19, 2016
Merged
Conversation
Member
|
Oh pip... 😞 LGTM |
Member
|
Can we use |
Contributor
Author
Is it possible that it'd be built while running under a different user? I'm not against the change, just curious why that scenario may happen. |
This shaves off ~1.1MB off the container builds. We do --no-cache-dir on `pip install`, but turns out, this isn't enough. Stuff from within `get-pip.py` ends up leveraging the http cache as well, so we should just nuke it entirely.
Contributor
Author
|
Updated to use |
Member
|
Not today, but we've been bitten by that very bug before, so I'm just
trying to be extra careful -- if you don't have any cycles to spare to
update that, I can do the minor change post-merge too. 👍
|
Member
|
You were faster than GitHub's email to comment gateway 😆 LGTM, thanks 👍 |
tianon
added a commit
to infosiftr/stackbrew
that referenced
this pull request
Apr 20, 2016
- `drupal`: 8.1 GA - `mariadb`: add xtrabackup for Galera (MariaDB/mariadb-docker#47) - `pypy`: 5.1.0 - `python`: empty `~/.cache` (docker-library/python#103) - `redis`: use `su-exec` in Alpine variants (redis/docker-library-redis#54) - `rocket.chat`: 0.27.0
RichardScothern
pushed a commit
to RichardScothern/official-images
that referenced
this pull request
Jun 14, 2016
- `drupal`: 8.1 GA - `mariadb`: add xtrabackup for Galera (MariaDB/mariadb-docker#47) - `pypy`: 5.1.0 - `python`: empty `~/.cache` (docker-library/python#103) - `redis`: use `su-exec` in Alpine variants (redis/docker-library-redis#54) - `rocket.chat`: 0.27.0
JayH5
added a commit
to praekeltfoundation/docker-alpine-python
that referenced
this pull request
Jul 11, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This shaves off ~1.1MB off the container builds. We do --no-cache-dir on
pip install, but turns out, this isn't enough. Stuff from withinget-pip.pyends up leveraging the http cache as well, so we shouldjust nuke it entirely.