find_library broken in alpine image
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- docker, python
- Domaine
- devops, infrastructure
Piste de recherche
Commencez par reproduire les deux commandes de l’issue dans alpine:3.3 et python:2-alpine, puis comparez les environnements des images et le comportement de Python ctypes.util.find_library. Le travail est terminé lorsque la régression supplémentaire dans python:2-alpine est identifiée et qu’un correctif ou workaround validé pour l’image est documenté ou implémenté.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
According to http://bugs.alpinelinux.org/issues/5264 its known, that find_library is broken with python3 on Alpine.
However, with python2 it works on pure alpine:3.3,
$ docker run --rm -ti alpine:3.3 sh -c "apk add --no-cache file python && python -c 'from ctypes.util import find_library;print find_library(\"c\")'"
...
libc.musl-x86_64.so.1
but not on python:2-alpine,
$ docker run --rm -ti --entrypoint sh python:2-alpine -c "python -c 'from ctypes.util import find_library;print(find_library(\"c\"))'"
None
so python:2-alpine seems to break something in addition to the general alpine issue, which renders even version 2 broken. Maybe the find_library issue could also be worked around by python image in general.
- Langage dominant
- Dockerfile
- Étoiles
- 2.8k
- Forks
- 1.1k
- Merge moyen
- 3 j 1 h
- PR mergées (30 j)
- 1
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de docker-library/python
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
docker-library/python#1080 · 8 commentaires ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
docker-library/python#1121 · 2 commentaires ·
-
Provide 3.13t & 3.14t images Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
docker-library/python#1082 · 10 commentaires · 36 réactions ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
docker-library/python#1076 · 6 commentaires · 1 réaction ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 52/100
docker-library/python#1071 · 7 commentaires ·
Toutes les issues de docker-library/python
Issues similaires
-
bug carvel-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
carvel-dev/kapp-controller#1861 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
-
Expose REVIEW_PATH_SPEC as a review.yml input to scope the diff (skip vendored/reference paths) Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
microsoft/BC-ALAgents#71 ·
-
worker.gpuVendors silently accepts unsupported/misspelled vendor names — no validation guard Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
k3s-io/k3s-ansible#565 ·