mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
build(web): make a shallow clone of vcpkg
This commit is contained in:
3
dist/web/Dockerfile
vendored
3
dist/web/Dockerfile
vendored
@@ -12,8 +12,7 @@ RUN <<EOF
|
|||||||
# Note: we are a patch on the libmagic port
|
# Note: we are a patch on the libmagic port
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
git clone https://github.com/microsoft/vcpkg /vcpkg
|
git clone --depth 1 https://github.com/microsoft/vcpkg /vcpkg
|
||||||
git -C /vcpkg pull
|
|
||||||
/vcpkg/bootstrap-vcpkg.sh
|
/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
|
sed -i 's/vcpkg_install_make(${EXTRA_ARGS})/vcpkg_install_make(${EXTRA_ARGS} SUBPATH src)/g' /vcpkg/ports/libmagic/portfile.cmake
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user