From 104fef05e642304e8b8da6fb807a1fd0c5e7a172 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Thu, 14 Jan 2021 14:37:25 +0100 Subject: [PATCH] perf: Build crates locked to a version Lock crates to version specified by crosvm when building to ensure that the build succeeds. Signed-off-by: Rohan Garg Reviewed-by: Gert Wollny --- perf-testing/Docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perf-testing/Docker/Dockerfile b/perf-testing/Docker/Dockerfile index c75c17f..bd3b46f 100644 --- a/perf-testing/Docker/Dockerfile +++ b/perf-testing/Docker/Dockerfile @@ -216,7 +216,7 @@ RUN mkdir -p /platform/ \ && cd /platform \ && git clone --single-branch -b perfetto https://gitlab.freedesktop.org/tomeu/crosvm.git \ && cd crosvm \ - && cargo install --debug --features 'default-no-sandbox wl-dmabuf gpu x virtio-gpu-next' --path . --root /usr/local + && cargo install --locked --debug --features 'default-no-sandbox wl-dmabuf gpu x virtio-gpu-next' --path . --root /usr/local RUN export uid=$USER_ID gid=$GROUP_ID && \ mkdir -p /home/chronos && \