diff --git a/.docker/Dockerfile b/.docker/Dockerfile
index 8e7597e6973b016c4e269f5e865c1b4e6008150d..9695b6f80950698ca7a587ed2c649c8f10b43549 100644
--- a/.docker/Dockerfile
+++ b/.docker/Dockerfile
@@ -2,7 +2,8 @@ FROM debian:bookworm
 
 RUN apt-get update
 RUN apt-get install -y cmake
-RUN apt-get install -y lcov
+# iwyu is not a strict dependency here, but in the cppinttests.
+RUN apt-get install -y lcov iwyu
 RUN apt-get install -y doxygen graphviz
 RUN apt-get install -y clang-format-16 clang-tidy-16
 RUN apt-get install -y python3-pip python3-venv
diff --git a/doc/DEPENDENCIES.md b/doc/DEPENDENCIES.md
index a0a6e257a917a3afb493fc3b9211efceef2e27a6..543d02c00d535589103d9d7c39dea708b8846914 100644
--- a/doc/DEPENDENCIES.md
+++ b/doc/DEPENDENCIES.md
@@ -40,7 +40,7 @@ clang-tidy-16
 
 ```
 >=gcc-10.2.0
->=lcov-1.15
+>=lcov-1.16
 ```
 
 ## Formatting ##