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 <rohan.garg@collabora.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
Rohan Garg 4 years ago
parent 3c91b4093d
commit 104fef05e6
  1. 2
      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 && \

Loading…
Cancel
Save