@@ -38,16 +38,20 @@ 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 && \
47+ chmod -R a+rX /isaac-sim
4448# Install isaaclab
4549RUN ${ISAACLAB_PATH}/isaaclab.sh -i
4650
4751# Patch for osqp in IsaacLab. Downgrade qpsolvers
4852# TODO(alexmillane): Watch the thread here: https://nvidia.slack.com/archives/C06HLQ6CB41/p1764680205807019
4953# and remove this thread when IsaacLab has a fix.
50- RUN if python -c "import qpsolvers; print(qpsolvers.available_solvers)" | grep -q "osqp"; then \
54+ RUN if /isaac-sim/ python.sh -c "import qpsolvers; print(qpsolvers.available_solvers)" | grep -q "osqp"; then \
5155 echo "OSQP is installed. You can remove this clause from the Arena dockerfile."; \
5256 else \
5357 echo "OSQP missing, installing... This is a patch for an Isaac Lab bug."; \
@@ -77,7 +81,7 @@ ENV LW_API_ENDPOINT="https://api-dev.lightwheel.net"
7781
7882# HuggingFace for downloading datasets and models.
7983# 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]
84+ RUN pip install --break-system-packages huggingface-hub[cli]
8185# Create alias for hf command to use the system-installed version
8286RUN echo "alias hf='/usr/local/bin/hf'" >> /etc/bash.bashrc
8387
@@ -133,7 +137,7 @@ RUN echo "alias pytest='/isaac-sim/python.sh -m pytest'" >> /etc/bash.bashrc
133137# It will pause waiting for the debugger to attach.
134138# 3) Attach to the running container with VSCode using the "Attach to debugpy session"
135139# configuration from the Run and Debug panel.
136- RUN pip3 install debugpy
140+ RUN /isaac-sim/python.sh -m pip install debugpy
137141RUN echo "alias debugpy='python -Xfrozen_modules=off -m debugpy --listen localhost:5678 --wait-for-client'" >> /etc/bash.bashrc
138142
139143# Change prompt so it's obvious we're inside the arena container
0 commit comments