Devcontainer: Enable vcpkg asset cache for vcpkg cache feature

This enables our vcpkg asset cache in the devcontainer setup, protecting
CI jobs against flaky upstream tarball downloads.
This commit is contained in:
Andrew Kaster 2025-07-15 14:48:24 -06:00 committed by Jelle Raaijmakers
commit 0b854ed8eb
Notes: github-actions[bot] 2025-07-16 07:52:26 +00:00

View file

@ -28,6 +28,7 @@ python3 ./Toolchain/BuildVcpkg.py
# Set the binary cache directory to the one we intend to use at container runtime
export VCPKG_ROOT="${PWD}/Build/vcpkg"
export VCPKG_BINARY_SOURCES="clear;files,${CACHE_DIR},readwrite"
export X_VCPKG_ASSET_SOURCES="clear;x-azurl,https://vcpkg-cache.app.ladybird.org/ladybird/source-assets/,,read"
# Check options to see which versions we should build
if [ "${RELEASE_TRIPLET}" = "true" ]; then