Skip to content

Commit 7d9ac85

Browse files
authored
feat: add cpm source cache environment variable (#737)
1 parent 393c837 commit 7d9ac85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.devcontainer/cpp/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ RUN python3 -m pip install --break-system-packages --require-hashes --no-cache-d
3434
# Set default environment options for CMake and ccache
3535
ENV CMAKE_GENERATOR="Ninja"
3636
ENV CMAKE_EXPORT_COMPILE_COMMANDS="On"
37-
ENV CCACHE_DIR=/root/.ccache
37+
ENV CCACHE_DIR=/cache/.ccache
38+
ENV CPM_SOURCE_CACHE=/cache/.cpm-cache
3839

3940
# Install clang toolchain and mull mutation testing framework
4041
COPY .devcontainer/cpp/apt-requirements-clang.json /tmp/apt-requirements-clang.json

0 commit comments

Comments
 (0)