When using vcpkg in manifest mode, it is possible to specify a commit of the vcpkg repository to track via the builtin-baseline option, such as:
{
"name": "test-vcpkg-template",
"dependencies": [
{
"name": "expected-lite",
"version>=": "0.6.3"
}
],
"builtin-baseline": "01acfdfde3ed99280d3883a8fccd5fa4408f5214"
}
Devcontainer cpp image clones vcpkg repository using the --depth=1 option (link to the code) preventing usage of vcpkg in manifest mode, unless manually modifying the container image to fetch all git history.