Skip to content

Commit

Permalink
Use export instead of containerEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhikhandale committed May 6, 2024
1 parent ca890f4 commit 57f3b17
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/cpp/.devcontainer/base-scripts/install-vcpkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ check_packages() {
}

export DEBIAN_FRONTEND=noninteractive
export VCPKG_FORCE_SYSTEM_BINARIES=1

# Install additional packages needed by vcpkg: https://github.com/microsoft/vcpkg/blob/master/README.md#installing-linux-developer-tools
check_packages build-essential tar curl zip unzip pkg-config bash-completion ninja-build
Expand Down
3 changes: 0 additions & 3 deletions src/cpp/.devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
"securityOpt": [
"seccomp=unconfined"
],
"containerEnv": {
"VCPKG_FORCE_SYSTEM_BINARIES": "1"
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
Expand Down

0 comments on commit 57f3b17

Please sign in to comment.