Comments (4)
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.
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).
- Create a debian package from python source
- Install the newly created deb file
- 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.
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.
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)
- CVE-2023-52425 in most images except alpine HOT 2
- Python:3.11-slim-bookworm image still uses debian:12.0 but not 12.5 HOT 2
- Checksum change for python:3.12.3-slim HOT 4
- Failed to build on debian:sid-slim HOT 3
- Latest Python 3.11 Alpine seems to have symlinks broken HOT 8
- Feat: include git in windows images HOT 2
- Support platform darwin/arm64 HOT 2
- Docker Official Image python:<version>-alpine issue HOT 2
- What is the image retention/removal policy? HOT 4
- Problem pulling any arm64v8/python images HOT 6
- Media type for `python:3.10-slim-bookworm` changed to `"application/vnd.oci.image.index.v1+json"` HOT 3
- Fatal (DKL-DI-0004) Found with Dockle Scan in - python:3.11.9-alpine3.20 HOT 1
- 镜像站里没找到python_arm64的镜像 HOT 1
- 镜像站里没找到python_arm64的镜像 HOT 1
- pyhton无arm64的镜像 HOT 1
- CVE-2024-37370 and CVE-2024-37371 on 3.11-slim-bullseye and 3.12-slim-bullseye HOT 2
- Vulnerability with setuptools < 70.0.0 (CVE-2024-6345) HOT 7
- Can't connect to HTTPS URL because the SSL module is not available from Buildah HOT 3
- Breaking change introduced in python:3.8-slim HOT 9
- l`oad metadata for docker.io/library/python:3.12` eroor HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python.