Skip to content

Commit

Permalink
chore(deps): Add libmagic as fallback for typecode-libmagic
Browse files Browse the repository at this point in the history
Python typecode-libmagic need a fallback on platforms
that don't have the library plugin capability, mostly
linux/aarch64 images. Ubuntu specific need the libmagic1
system library and file utility.

Signed-off-by: Helio Chissini de Castro <[email protected]>
  • Loading branch information
heliocastro committed Sep 29, 2023
1 parent e3bbcdb commit 42485df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
coreutils \
curl \
dirmngr \
file \
gcc \
git \
git-lfs \
Expand All @@ -50,6 +51,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
libarchive-tools \
libffi-dev \
libgmp-dev \
libmagic1 \
libz-dev \
locales \
lzma \
Expand Down

0 comments on commit 42485df

Please sign in to comment.