Comments (7)
It would appear the problem is that gdb
depends on: file gdbserver libc6-dbg libexpat1 libmagic1 libpython2.7 libpython2.7-minimal libpython2.7-stdlib mime-support
. Looks like gdb is rigged to work with the python from the repositories, not whatever is available.
What's a nice way to sort this out?
from python.
Is this related in some way to #89?
from python.
Perhaps that could provide a solution, no idea. I'm not that versed in gdb features.
from python.
I have a python docker image built with modifications from the current 3.6.3 dockerfile (i'll be making that a public repo today). This does require doing a debug build of python, and running the container with SYS_PTRACE
capability. These both increase repo size and decrease container security. The container size increase is unavoidable; but the use of sys_ptrace is only needed when you know you will need to attach to the container.
I'll update this issue when I have a the exemplar repository available.
cc: @jennolsen84
from python.
My example repo is here https://github.com/vertexproject/pydebug. After pulling the images built from docker-cloud there is pretty negligible size difference.
vertexproject/pydebug 3.6-slim dc5245838148 About an hour ago 174MB
vertexproject/pydebug 3.6.3-slim a18b561907c6 About an hour ago 174MB
python 3.6-slim a79297999298 4 weeks ago 156MB
python 3.6.3-slim a79297999298 4 weeks ago 156MB
from python.
#251 seems to imply that this potentially might require compiling GDB from source in order to actually fix it, which is really nasty (and I hope not the case) 😞
from python.
Closing, since this seems to be something we can't easily enable (without possibly compiling GDB from source, which is kind of nasty and we don't want to embed GDB itself in the image). Sorry!
from python.
Related Issues (20)
- running pip install -r requirements.txt fails when trying to build an image HOT 2
- python3:12 ModuleNotFoundError: No module named 'ansible.module_utils.six.moves' error when running ansible HOT 2
- CVE-2023-29491 and CVE-2023-4911 on python:3-slim HOT 2
- Republished/re-pushed python:3 image 10/11 breaks builds. What was changed HOT 3
- [python:3.10.13-alpine3.18] CVE-2018-20225 and CVE-2022-40897 HOT 1
- Cant enable and find core dumped HOT 8
- Is CVE-2023-45853 causing issues? HOT 4
- gcc is missing in slim images for Python 3.10 HOT 7
- Error EOF when pulling python image HOT 2
- Two different python 3.11 binaries in python:3.11 HOT 3
- اوووو
- LANG C.UTF-8 issue status? HOT 2
- Platform mismatch in manifest for arm32v7 slim variants HOT 3
- python:3.11-slim-bookworm CVE-2023-5752 HOT 5
- python:3.11-slim-bookworm CVE-2023-44487 HOT 3
- curl vulnerability for bookworn HOT 2
- Python 3.12.1 released HOT 1
- python:3.8 missing pub key? HOT 2
- There are two new CVEs in open-ssh used by at least shared-tag `3.9`. HOT 6
- ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y --fix-missing --no-install-recommends --no-install-suggests build-essential default-libmysqlclient-dev && apt-get clean && rm -rf /var/lib/apt/lists/*" did not co HOT 4
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.