build: Revert back to old way of installing vcpkg packages

This commit is contained in:
WerWolv
2025-08-12 23:27:48 +02:00
parent c03d9301e2
commit d8ad23630a
3 changed files with 21 additions and 11 deletions

View File

@@ -53,15 +53,22 @@ RUN --mount=type=cache,target=/var/lib/apt/lists/ apt update && apt install -y l
# -- DOWNLOADING + BUILDING STUFF
ENV VCPKG_DEFAULT_BINARY_CACHE /cache/vcpkg
RUN --mount=type=cache,target=/cache \
--mount=type=bind,source=.,target=/imhex <<EOF
RUN --mount=type=cache,target=/cache <<EOF
## Install dependencies with vcpkg
set -xe
mkdir -p $VCPKG_DEFAULT_BINARY_CACHE
cp /imhex/dist/vcpkg.json .
git -C /vcpkg fetch
vcpkg install --triplet=arm-osx-mytriplet
vcpkg install --triplet=arm-osx-mytriplet curl
vcpkg install --triplet=arm-osx-mytriplet mbedtls
vcpkg install --triplet=arm-osx-mytriplet freetype
vcpkg install --triplet=arm-osx-mytriplet josuttis-jthread
vcpkg install --triplet=arm-osx-mytriplet zlib
vcpkg install --triplet=arm-osx-mytriplet bzip2
vcpkg install --triplet=arm-osx-mytriplet liblzma
vcpkg install --triplet=arm-osx-mytriplet zstd
vcpkg install --triplet=arm-osx-mytriplet openssl
vcpkg install --triplet=arm-osx-mytriplet libssh2
EOF
## Install glfw3 dep