Commit Graph

50 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 9a9021f213 Apply update.sh (templates) 2016-08-08 16:14:09 -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 3db904b3f5 configure: WARNING: unrecognized options: --enable-unicode 2016-07-06 11:10:20 -07:00
Tianon Gravi 96bef8d520 Add "--enable-loadable-sqlite-extensions" for 3.x versions 2016-07-06 11:07:10 -07: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
Kane 8726813a89 Prevent two versions of pip 2016-06-28 15:15:15 -07:00
Tianon Gravi 80e4493d12 Update to 3.5.2, 3.4.5 2016-06-27 10:27:00 -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
Joe Ferguson 764d302a21 Fix python-config symlink 2016-03-28 12:32:01 -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 12db3f7b07 Apply the 3.5 alpine variant changes across the board (now that they've settled) 2016-01-14 16:43:53 -08:00
Tianon Gravi 033320b278 Add "-f" to all "curl" invocations 2015-12-23 16:12:06 -08:00
Tianon Gravi f9739c6da5 Backport pip fix from 3.5 to 3.4 2015-12-22 08:39:53 -08:00
Tianon Gravi 4388fdb353 Update to 3.4.4 2015-12-21 10:09:46 -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
yosifkit c6e8f0d345 Merge pull request #38 from Turistforeningen/master
Configure Python with --enable-unicode=ucs4
2015-03-02 15:19:21 -08:00
Tianon Gravi db31004d42 Update to 3.4.3 2015-02-27 14:33:51 -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
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 e236058d5c Update to 3.4.2 2014-10-08 09:58:02 -06:00
Tianon Gravi 9cdb6eeb85 Fix update.sh to not mistakenly capture RCs (and thus push 3.4 down to 3.4.1, since 3.4.2 isn't actually out yet) 2014-10-03 14:54:43 -06:00
Tianon Gravi 92eaf934ad Update to 3.4.2 2014-09-29 10:17:05 -06: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
Tianon Gravi 94474c022d Rename folder from "3.4" to "3" 2014-06-20 17:00:56 -06:00
Tianon Gravi 1d9c8d888c Add initial 3.4 Dockerfile 2014-06-20 14:52:22 -06:00