docker-library / buildpack-deps

MIT License
445 stars 113 forks source link

Split up micro images even further into explicit "curl" and "scm" variants #15

Closed tianon closed 9 years ago

tianon commented 9 years ago

Documentation in https://github.com/docker-library/docs/pull/140

tianon commented 9 years ago

cc @proppy

yosifkit commented 9 years ago

LGTM

yosifkit commented 9 years ago

On a slightly related note, we should drop meta packages (like build-essential) and install things explicitly (maybe even with --no-install-recommends).

tianon commented 9 years ago

Ah, I don't know if the definition of build-essential has changed, or if I just never looked into it deeply enough (because it was my understanding that it was supposed to be just the essential packages required to compile basic software), but it clearly isn't, and is more specific to Debian packaging: (https://packages.debian.org/sid/build-essential)

This package contains an informational list of packages which are considered essential for building Debian packages. This package also depends on the packages on that list, to make it easy to have the build-essential packages installed.

Clearly not at all what we're after, and thus I agree with replacing it with more specific deps. I'm not 100% sold on --no-install-recommends in the base Dockerfiles, but I'd be interested what packages we lose by doing so such that we can make an informed decision either way.