From a9cbb1f81c07dc3ce6a1a70a79d5349fd3cde2f7 Mon Sep 17 00:00:00 2001 From: Nigel Banks Date: Tue, 5 Nov 2024 00:06:13 +0100 Subject: [PATCH] Add dependencies to allow FITS to analyze JP2's --- fits/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fits/Dockerfile b/fits/Dockerfile index e0192d36..3a2885bf 100644 --- a/fits/Dockerfile +++ b/fits/Dockerfile @@ -41,6 +41,8 @@ RUN --mount=type=cache,id=fits-downloads-${TARGETARCH},sharing=locked,target=/op # Replace linux shared libraries with ones that target muslibc and are platform specific. # Also add perl for exiftool, and platform specific jna so native libs can be loaded. # +# Additionally, Python and Jpylyzer are included for analyzing JP2 files +# # Platform specific does require arch specific identifier. RUN --mount=type=cache,id=fits-apk-${TARGETARCH},sharing=locked,target=/var/cache/apk \ apk add \ @@ -49,7 +51,10 @@ RUN --mount=type=cache,id=fits-apk-${TARGETARCH},sharing=locked,target=/var/cach libmediainfo \ libzen \ perl \ + py3-pip \ + python3 \ && \ + pip install --break-system-packages jpylyzer && \ cleanup.sh # Remove old files & then install latest log4j-* files