devcontainer: Reword the comment on caching package downloads

The sentence packed the two purposes of the mounts and their effect into
one clause chain, which was hard to follow.  Split it in two.

Suggested-by: Tyler Yankee <tyler.yankee@kitware.com>
This commit is contained in:
Taylor Braun-Jones
2026-09-08 16:25:05 +00:00
parent 7ae5c3cfb2
commit 8bd053379f
+2 -2
View File
@@ -37,8 +37,8 @@ RUN --mount=type=bind,source=install_kitware_archive.sh,target=/root/install_kit
#
# Cache the package lists and the downloaded archives, and hide the
# `docker-clean` configuration the base image provides so that it does not
# discard them, so that rebuilding the container downloads only what has
# changed since the last build.
# discard them. A rebuild then downloads only what has changed since the
# last build.
RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \
--mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \
--mount=type=bind,source=dev_packages.lst,target=/root/dev_packages.lst \