docker-library / buildpack-deps

MIT License
445 stars 113 forks source link

Add libdb-dev #44

Closed jgehrcke closed 8 years ago

jgehrcke commented 8 years ago

I've used the python:2.7 image which is based on buildpack-deps:jessie. The binaries for libdb5.3 are contained in the image, but the headers are not. That leads to Python not building dbm support, yielding ImportError: No module named dbm.

Since the library is already contained in the image, let's allow to compile against it. I suggest adding the libdb-dev package. It only adds a few kilobytes.

yosifkit commented 8 years ago

Sounds reasonable to me. cc @tianon

tianon commented 8 years ago

Agree! :+1: