1
0
mirror of synced 2024-11-12 02:00:52 +01:00

build: Lock libmagic to latest release in M1 macOS docker file

This commit is contained in:
WerWolv 2024-03-30 11:03:45 +01:00
parent 696612385a
commit 51302cfd88

View File

@ -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