Python: pkg-config, libfreetype6-dev missing

Created on 20 Jul 2016  路  6Comments  路  Source: docker-library/python

It looks like as of yesterday pkg-config and libfreetype6-dev (and presumably other packages) are no longer in python:2.7 (and presumably other tags). Was this deliberate and should I just start installing these myself in my images?

Most helpful comment

My problem is that I rely on requirements.txt to install matplotlib. However, now I have to remove matplotlib from requirements.txt, apt-get install libfreetype6-dev and pkg-config, then execute pip install matplotlib with my own RUN command. It seems a bit unnecessary.

All 6 comments

My problem is that I rely on requirements.txt to install matplotlib. However, now I have to remove matplotlib from requirements.txt, apt-get install libfreetype6-dev and pkg-config, then execute pip install matplotlib with my own RUN command. It seems a bit unnecessary.

I'm suffering the same issue as @kjmph. Some feedback would be appreciated. Thanks.

Definitely not our intention to remove those packages, since they are part of buildpack-deps. I am looking over a build log and it looks like the line 54 is removing many more packages than it should be.

Hi @yosifkit, do you have an ETA on when this fix will be merged into docker-library/official-images and available on the hub? Our build has been broken for over a week now because of it.

Looks like it will be built and pushed once https://github.com/docker-library/official-images/pull/2005 is merged. Hopefully this afternoon.

All working now, thanks @yosifkit.

Was this page helpful?
0 / 5 - 0 ratings