Giter Site home page Giter Site logo

Comments (4)

yosifkit avatar yosifkit commented on July 30, 2024

That wouldn't actually save space, since those are installed in previous layers of the image. I think some are valid to keep because they are only autoremovable after we apt-get purge -y python.*. Which is later installed directly from upstream, but not through a deb package, so apt doesn't know about it.

Yes, that is "expected", but needs to be updated. We missed updating it when we moved from the beta 3.5 to the release (I'll go fix that).

from python.

jennolsen84 avatar jennolsen84 commented on July 30, 2024

ah, so ideally, the following would be done so that apt-get autoremove will not accidentally delete desired libraries (since they are wanted by python).

  1. Create a debian package from python source
  2. Install the newly created deb file
  3. cleanup

(all in one layer)

I totally understand if this is not high on the priority list right now, but would you agree that it would be the best implementation?

from python.

tianon avatar tianon commented on July 30, 2024

I think this was actually caused by #129, and is thus finally really fixed by #137:

$ docker run -it --rm python:3 bash
root@160e5530f522:/# apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

from python.

wglambert avatar wglambert commented on July 30, 2024

This question/request seems resolved so I'm going to close it.

If you believe this to be in error then let me know and I'll re-open it

from python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.