Linux installation Dockerfile sur RPi4 #37
Unanswered
cortomalese
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
L'erreur vient très probablement du chemin codé en dur dans le /usr/lib/x86_64-linux-gnu/perl5/5.32/PDF/API2/XS/ImagePNG.pmSur un RPi4, l'image est construite en À la place, il faut soit construire explicitement pour amd64 : docker buildx build --platform linux/amd64 -t compta-libremen-com .soit rendre le RUN file="$(find /usr/lib -path '*/PDF/API2/XS/ImagePNG.pm' -print -quit)" && \
test -n "$file" && \
if ! grep -q 'use parent "Exporter";' "$file"; then \
sed -i '/^package PDF::API2::XS::ImagePNG;/a\use parent "Exporter";\nour @EXPORT = qw(split_channels unfilter);' "$file"; \
fiSur Raspberry Pi, le chemin sera plutôt quelque chose comme |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Bonjour, sur mon RPi4 la commande
docker build -t compta-libremen-com .s'est arrêtée avec cette erreur :
Beta Was this translation helpful? Give feedback.
All reactions