@@ -37,9 +37,12 @@ ENV TERM=xterm
3737# Symlink isaac sim to IsaacLab
3838RUN ln -s /isaac-sim/ ${WORKDIR}/submodules/IsaacLab/_isaac_sim
3939# Install IsaacLab dependencies
40- RUN for DIR in ${WORKDIR}/submodules/IsaacLab/source/isaaclab*/; do pip install --no-deps -e "$DIR"; done
40+ RUN for DIR in ${WORKDIR}/submodules/IsaacLab/source/isaaclab*/; do /isaac-sim/python.sh -m pip install --no-deps -e "$DIR"; done
4141# Logs and other stuff appear under dist-packages per default, so this dir has to be writeable.
4242RUN chmod 777 -R /isaac-sim/kit/
43+ # Make /isaac-sim directory traversable and readable by all users
44+ # This is needed when entrypoint switches to non-root user
45+ RUN chmod a+x /isaac-sim
4346# NOTE(alexmillane, 2026-02-10): We started having issues with flatdict 4.0.1 installation
4447# during IsaacLab install. We install here with build isolation which seems to fix the issue.
4548RUN /isaac-sim/python.sh -m pip install flatdict==4.0.1 --no-build-isolation
@@ -49,7 +52,7 @@ RUN ${ISAACLAB_PATH}/isaaclab.sh -i
4952# Patch for osqp in IsaacLab. Downgrade qpsolvers
5053# TODO(alexmillane): Watch the thread here: https://nvidia.slack.com/archives/C06HLQ6CB41/p1764680205807019
5154# and remove this thread when IsaacLab has a fix.
52- RUN if python -c "import qpsolvers; print(qpsolvers.available_solvers)" | grep -q "osqp"; then \
55+ RUN if /isaac-sim/ python.sh -c "import qpsolvers; print(qpsolvers.available_solvers)" | grep -q "osqp"; then \
5356 echo "OSQP is installed. You can remove this clause from the Arena dockerfile."; \
5457 else \
5558 echo "OSQP missing, installing... This is a patch for an Isaac Lab bug."; \
@@ -79,7 +82,7 @@ ENV LW_API_ENDPOINT="https://api-dev.lightwheel.net"
7982
8083# HuggingFace for downloading datasets and models.
8184# NOTE(alexmillane, 2025-10-28): For some reason the CLI has issues when installed in the IsaacSim version of python.
82- RUN pip install huggingface-hub[cli]
85+ RUN pip install --break-system-packages huggingface-hub[cli]
8386# Create alias for hf command to use the system-installed version
8487RUN echo "alias hf='/usr/local/bin/hf'" >> /etc/bash.bashrc
8588
@@ -136,7 +139,7 @@ RUN echo "alias pytest='/isaac-sim/python.sh -m pytest'" >> /etc/bash.bashrc
136139# It will pause waiting for the debugger to attach.
137140# 3) Attach to the running container with VSCode using the "Attach to debugpy session"
138141# configuration from the Run and Debug panel.
139- RUN pip3 install debugpy
142+ RUN /isaac-sim/python.sh -m pip install debugpy
140143RUN echo "alias debugpy='python -Xfrozen_modules=off -m debugpy --listen localhost:5678 --wait-for-client'" >> /etc/bash.bashrc
141144
142145# Change prompt so it's obvious we're inside the arena container
0 commit comments