Skip to content

Commit c836391

Browse files
committed
feat: add cpm source cache environment variable
1 parent 071be55 commit c836391

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
@@ -35,7 +35,8 @@ RUN python3 -m pip install --break-system-packages --require-hashes --no-cache-d
3535
# Set default environment options for CMake and ccache
3636
ENV CMAKE_GENERATOR="Ninja"
3737
ENV CMAKE_EXPORT_COMPILE_COMMANDS="On"
38-
ENV CCACHE_DIR=/root/.ccache
38+
ENV CCACHE_DIR=/cache/.ccache
39+
ENV CPM_SOURCE_CACHE=/cache/.cpm-cache
3940

4041
# Install clang toolchain
4142
COPY .devcontainer/cpp/apt-requirements-clang.json /tmp/apt-requirements-clang.json

0 commit comments

Comments
 (0)