Skip to content

Commit

Permalink
fix: set devcontainer env default (#148)
Browse files Browse the repository at this point in the history
- It seems that without setting ENV, that vcpkg does not always pick up this variable and setup can fail. Committing here to test on a fresh clone.
  • Loading branch information
alexallmont committed Nov 20, 2024
1 parent 89b1124 commit 0d797c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ RUN pip install \
pytest-cov

# Use system tools for vcpkg when building aarch64 (Linux on MacOS)
ENV VCPKG_FORCE_SYSTEM_BINARIES=0
RUN if [ "$(uname -m)" = "aarch64" ]; then \
echo "Setting VCPKG_FORCE_SYSTEM_BINARIES for MacOS"; \
export VCPKG_FORCE_SYSTEM_BINARIES=1; \
Expand Down

0 comments on commit 0d797c1

Please sign in to comment.