Commit Graph

71 Commits

Author SHA1 Message Date
Joe Ferguson 6b24d8cd0a Also, keep gdbm around 2016-10-25 16:27:50 -07:00
Joe Ferguson 83b8e044aa Add gdbm-dev to slim and alpine images 2016-10-25 14:51:27 -07:00
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
Tianon Gravi 3f51e917d1 Merge pull request #136 from JayH5/alpine-ca-certs
Alpine: install ca-certificates
2016-08-08 10:59:27 -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
Jamie Hewland f011c37131 Alpine: install ca-certificates 2016-08-04 12:36:37 +02:00
Tianon Gravi a819c92949 Use "dpkg-divert" instead of "purge" to avoid Debian's Python 2016-07-22 12:58:33 -07:00
Jamie Hewland 8ab2af26df Alpine: add tk as build dependency 2016-07-21 11:39:36 +02: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 0610d9ccc2 Update to alpine:3.4 2016-06-07 08:54:35 -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
Tianon Gravi 8179a07e8a Merge pull request #90 from ushuz/lzma-deps
Add missing build dependency for lzma module
2016-04-21 12:15:01 -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
ushuz cf33ad9c40 Add missing build dependency for lzma module
Fix #86.
2016-02-26 22:02:30 +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 00c226b82e More places that Python 3.4 needs the backport... 2015-12-22 10:30:52 -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
Tianon Gravi 89890623a0 Add "libreadline-dev" to fix readline module usage 2015-06-16 15:35:22 -07:00
yosifkit 6d962f44cb Merge pull request #50 from mattrobenolt/pip-caching
Skip pip's default caching behavior
2015-06-11 19:05:30 -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 82380dd56c Add libncurses-dev to slim buildDeps so that the curses module works 2015-06-08 12:07:44 -07:00
Tianon Gravi e622e82acf Reorganize slim buildDeps so they're easier to review diffs on 2015-06-08 12:06:57 -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
Deni Bertovic a736fc19a9 Add libbz2-dev to buildDeps
Closes #39
2015-04-02 18:58:32 +02: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