From 51302cfd88967e07a693df2c8b50047f27c63eec Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 30 Mar 2024 11:03:45 +0100 Subject: [PATCH] build: Lock libmagic to latest release in M1 macOS docker file --- dist/macOS/arm64.Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/macOS/arm64.Dockerfile b/dist/macOS/arm64.Dockerfile index 3b5f737f6..1812c5e8a 100644 --- a/dist/macOS/arm64.Dockerfile +++ b/dist/macOS/arm64.Dockerfile @@ -35,9 +35,9 @@ EOF ## Download libmagic ### Clone libmagic -RUN git clone https://github.com/file/file /mnt/file +RUN git clone --depth 1 --branch FILE5_45 https://github.com/file/file /mnt/file ### Download libmagic dependencies -RUN --mount=type=cache,target=/var/lib/apt/lists/ apt install -y libtool autoconf +RUN --mount=type=cache,target=/var/lib/apt/lists/ apt update && apt install -y libtool autoconf # -- DOWNLOADING + BUILDING STUFF