build(web): make a shallow clone of vcpkg

This commit is contained in:
iTrooz 2025-12-14 01:43:40 +01:00
parent 3a3c2fb204
commit d6aec341fe
No known key found for this signature in database
GPG Key ID: 8B83F77667B1BC6A
1 changed files with 1 additions and 2 deletions

3
dist/web/Dockerfile vendored
View File

@ -12,8 +12,7 @@ RUN <<EOF
# Note: we are a patch on the libmagic port
set -xe
git clone https://github.com/microsoft/vcpkg /vcpkg
git -C /vcpkg pull
git clone --depth 1 https://github.com/microsoft/vcpkg /vcpkg
/vcpkg/bootstrap-vcpkg.sh
sed -i 's/vcpkg_install_make(${EXTRA_ARGS})/vcpkg_install_make(${EXTRA_ARGS} SUBPATH src)/g' /vcpkg/ports/libmagic/portfile.cmake
EOF