@@ -38,16 +38,19 @@ ENV TERM=xterm
3838# Symlink isaac sim to IsaacLab
3939RUN ln -s /isaac-sim/ ${WORKDIR}/submodules/IsaacLab/_isaac_sim
4040# Install IsaacLab dependencies
41- RUN for DIR in ${WORKDIR}/submodules/IsaacLab/source/isaaclab*/; do pip install --no-deps -e "$DIR"; done
41+ RUN for DIR in ${WORKDIR}/submodules/IsaacLab/source/isaaclab*/; do /isaac-sim/python.sh -m pip install --no-deps -e "$DIR"; done
4242# Logs and other stuff appear under dist-packages per default, so this dir has to be writeable.
4343RUN chmod 777 -R /isaac-sim/kit/
44+ # Make /isaac-sim directory traversable and readable by all users
45+ # This is needed when entrypoint switches to non-root user
46+ RUN chmod a+x /isaac-sim
4447# Install isaaclab
4548RUN ${ISAACLAB_PATH}/isaaclab.sh -i
4649
4750# Patch for osqp in IsaacLab. Downgrade qpsolvers
4851# TODO(alexmillane): Watch the thread here: https://nvidia.slack.com/archives/C06HLQ6CB41/p1764680205807019
4952# and remove this thread when IsaacLab has a fix.
50- RUN if python -c "import qpsolvers; print(qpsolvers.available_solvers)" | grep -q "osqp"; then \
53+ RUN if /isaac-sim/ python.sh -c "import qpsolvers; print(qpsolvers.available_solvers)" | grep -q "osqp"; then \
5154 echo "OSQP is installed. You can remove this clause from the Arena dockerfile."; \
5255 else \
5356 echo "OSQP missing, installing... This is a patch for an Isaac Lab bug."; \
@@ -77,7 +80,7 @@ ENV LW_API_ENDPOINT="https://api-dev.lightwheel.net"
7780
7881# HuggingFace for downloading datasets and models.
7982# NOTE(alexmillane, 2025-10-28): For some reason the CLI has issues when installed in the IsaacSim version of python.
80- RUN pip install huggingface-hub[cli]
83+ RUN pip install --break-system-packages huggingface-hub[cli]
8184# Create alias for hf command to use the system-installed version
8285RUN echo "alias hf='/usr/local/bin/hf'" >> /etc/bash.bashrc
8386
@@ -133,7 +136,7 @@ RUN echo "alias pytest='/isaac-sim/python.sh -m pytest'" >> /etc/bash.bashrc
133136# It will pause waiting for the debugger to attach.
134137# 3) Attach to the running container with VSCode using the "Attach to debugpy session"
135138# configuration from the Run and Debug panel.
136- RUN pip3 install debugpy
139+ RUN /isaac-sim/python.sh -m pip install debugpy
137140RUN echo "alias debugpy='python -Xfrozen_modules=off -m debugpy --listen localhost:5678 --wait-for-client'" >> /etc/bash.bashrc
138141
139142# Change prompt so it's obvious we're inside the arena container
0 commit comments