[RESEND PATCH v2 1/2] CI: Dockerfile: Lock the version of swtpm to v0.10.1

Yao Zi <[email protected]> Fri, 31 Jul 2026 12:07:49 +0000
Newsgroups gmane.comp.boot-loaders.u-boot
Message-ID <[email protected]>
Instead of pulling the latest code, specify the exact version to improve
reproducibility.

Fixes: 8a87d1ae9585 ("Dockerfile: build swtpm")
Signed-off-by: Yao Zi <[email protected]>
---
 tools/docker/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index ebb679a5f466..fb8e2c523aad 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -312,7 +312,7 @@ RUN git clone https://github.com/stefanberger/libtpms /tmp/libtpms && \
 	rm -rf /tmp/libtpms
 
 # Build swtpm
-RUN git clone https://github.com/stefanberger/swtpm /tmp/swtpm && \
+RUN git clone https://github.com/stefanberger/swtpm /tmp/swtpm -b v0.10.1 && \
 	cd /tmp/swtpm && \
 	./autogen.sh && \
 	./configure && \
-- 
2.54.0