Commit Graph

40 Commits

Author SHA1 Message Date
Tianon Gravi 855b85c830 Add "--force-reinstall" and a comment as to why to our "pip install" lines 2016-08-19 09:25:00 -07:00
Tianon Gravi f1bc9f7906 Apply template to python:2.7 and python:3.6 which don't currently get the templates applied directly 2016-08-08 16:15:58 -07:00
Joe Ferguson 7ea58b992e Fix whitespace to tabs 2016-08-05 15:50:56 -07:00
Joe Ferguson 50fc273793 Revert "Use "dpkg-divert" instead of "purge" to avoid Debian's Python"
- this reverts commit a819c92949.
 - since Debian packages use an absolute path, they were broken by the diverts
 - ensure the local python is first in PATH
2016-08-05 15:50:40 -07:00
Tianon Gravi a819c92949 Use "dpkg-divert" instead of "purge" to avoid Debian's Python 2016-07-22 12:58:33 -07:00
Jonathan Stewmon 8d03a5036b Install tk-dev and tcl-dev before building python 2016-07-18 10:12:52 -05:00
Tianon Gravi ac647c4b59 Reformat some minor whitespace and further shrink our alpine-debian diff 2016-07-06 11:06:51 -07:00
Tianon Gravi 682708e786 Add a small test to ensure that the pip version we installed is the pip we got
See https://github.com/docker-library/python/issues/118 for context.
2016-06-28 15:25:15 -07:00
Matt Robenolt cc63f456f5 2.7.12
Fixes GH-117
2016-06-28 12:15:56 -07:00
Tianon Gravi 9383f7d4d2 Update to pip 8.1.2 2016-05-11 14:48:17 -07:00
Sukrit Khera 3232863ad5 Fixes https://github.com/docker-library/python/pull/102 (tests folder removal) 2016-04-25 20:37:58 -07:00
Matt Robenolt 195213c43e Explicitly empty ~/.cache
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.
2016-04-19 16:38:31 -07:00
Tianon Gravi 7919b85ec9 Update pip to 8.1.1 2016-03-17 08:54:02 -07:00
Matt Robenolt d2b679d44b pip 8.1.0
Fixes GH-85
2016-03-05 10:36:54 -08:00
Tianon Gravi 93dd2037ba Fix "gpg" usage to stop relying on deprecated and insecure behavior 2016-02-29 10:24:10 -08:00
Matt Robenolt 8f0e46ad31 pip 8.0.3 2016-02-26 07:24:20 -08:00
Tianon Gravi 326d146f38 Adjust alpine and standard variants to be closer in sync 2016-01-12 09:10:21 -08:00
Tianon Gravi 033320b278 Add "-f" to all "curl" invocations 2015-12-23 16:12:06 -08:00
Tianon Gravi 5909006206 Update to 2.7.11 and 3.5.1
Fixes #67
2015-12-08 11:55:48 -08:00
Tianon Gravi 15798abb6c Update pip to 7.1.2 2015-08-24 10:06:41 -07:00
Tianon Gravi 46db56362d Update to pip 7.1.1 2015-08-21 08:57:00 -07:00
Tianon Gravi 5fc2d82f70 Update to pip 7.1.0 2015-07-01 14:21:36 -07:00
Matt Robenolt 7663560df7 Skip pip's default caching behavior
This caching includes the file that was downloaded over http,
as well as this new wheel cache. Neither of which are valuable
and just add bloat into the resulting images. Similar to removing
the apt caches on disk at each layer. This also makes pip install's
a tiny bit faster since pip avoids trying to automatically create
wheels (which is fast itself, but again, unnecessary in this world).

See:
  - https://pip.pypa.io/en/latest/reference/pip_install.html#caching
  - https://pip.pypa.io/en/latest/reference/pip_install.html#wheel-cache
2015-06-08 23:13:13 -07:00
Tianon Gravi 38e00bb6ba Update to pip 7.0.3 2015-06-02 10:06:53 -07:00
Tianon Gravi 526ee08b34 Update to 2.7.10 and update pip to 7.0.1 2015-05-26 09:30:03 -07:00
Joe Ferguson 0255766eee Run update.sh: pip bump 7.0.0 2015-05-22 16:21:25 -07:00
Tianon Gravi 12105a2a8c Install explicit version of "pip" 2015-05-19 10:30:21 -07:00
Tianon Gravi 3575b03cc3 Reorganize Dockerfiles for slightly better cache 2015-05-19 09:32:07 -07:00
Joe Ferguson a467ae8851 More resilient gpg getting
- move to "high-availability" [subset](https://sks-keyservers.net/overview-of-pools.php#pool_ha).
2015-04-22 17:50:09 -07:00
Hans Kristian Flaatten 542719bf6a Configure Python with --enable-unicode=ucs4
Bulk update all Dockerfiles with the following command:

```bash
find . -name 'Dockerfile' | xargs sed -i '' 's/--enable-shared/--enable-shared --enable-unicode=ucs4/g'
```
2015-02-26 14:13:16 +01:00
Moghedrin 04609e66b1 Reading tianon's mind, I was not. 2015-02-04 15:41:27 -07:00
Moghedrin c0549e0cd0 Clean up curl commands 2015-02-04 15:19:08 -07:00
Moghedrin eba93c0d86 Remove unnecessary keys 2015-02-04 15:07:15 -07:00
Moghedrin 5fd6bac86b Add gpg verification for python3 versions 2015-01-26 17:16:33 -07:00
Moghedrin 2296bdc058 Add gpg validation for python 2.7 2015-01-26 16:57:31 -07:00
Tianon Gravi d550e292ee Bump to 2.7.9 2014-12-11 11:30:36 -07:00
Tianon Gravi 4faf7f1b13 Add `--enable-shared`, slightly smaller images, and slightly better consistency across Dockerfiles 2014-11-26 10:30:53 -07:00
Tianon Gravi ce7da0b874 Remove the source (slimming us down by about 100MB) and skip the tests entirely (since they've been so flaky for us) 2014-11-10 11:05:40 -07:00
Tianon Gravi dbe3e241f4 Fix UTF-8 printing issues; see http://bugs.python.org/issue19846 2014-09-26 09:27:20 -06:00
Tianon Gravi a30ed3056e Add Python 3.3 2014-09-17 11:48:15 -06:00