Skip to content

Commit

Permalink
Add dependencies to allow FITS to analyze JP2's (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelgbanks authored Nov 15, 2024
1 parent c749d09 commit 017bcf1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fits/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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
Expand Down

0 comments on commit 017bcf1

Please sign in to comment.