From 508d977a16913e817c64a518f04906b524131a63 Mon Sep 17 00:00:00 2001 From: Pepijn Date: Thu, 16 Apr 2026 17:39:26 +0200 Subject: [PATCH] fix(docker): clone VLABench to home dir (non-root user) The base image runs as user_lerobot which cannot write to /opt. Made-with: Cursor --- docker/Dockerfile.benchmark.vlabench | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.benchmark.vlabench b/docker/Dockerfile.benchmark.vlabench index f12399380..d728ffcfa 100644 --- a/docker/Dockerfile.benchmark.vlabench +++ b/docker/Dockerfile.benchmark.vlabench @@ -24,8 +24,8 @@ FROM huggingface/lerobot-gpu:latest # Shallow-clone without submodule recursion (nested SSH-only submodules fail in CI). # Editable install (-e) because VLABench/utils/ has no __init__.py, so # find_packages() omits it from wheels; editable mode uses the source tree directly. -RUN git clone --depth 1 https://github.com/OpenMOSS/VLABench.git /opt/VLABench && \ - uv pip install --no-cache -e /opt/VLABench mujoco==3.2.2 dm-control==1.0.22 && \ +RUN git clone --depth 1 https://github.com/OpenMOSS/VLABench.git ~/VLABench && \ + uv pip install --no-cache -e ~/VLABench mujoco==3.2.2 dm-control==1.0.22 && \ python -c "from VLABench.utils import download_assets; download_assets()" # Overlay the PR's source code on top of the nightly image.