@@ -37,19 +37,21 @@ ENV ISAACLAB_PATH=${WORKDIR}/submodules/IsaacLab
3737ENV TERM=xterm
3838# Symlink isaac sim to IsaacLab
3939RUN ln -s /isaac-sim/ ${WORKDIR}/submodules/IsaacLab/_isaac_sim
40- # Install IsaacLab dependencies
41- RUN for DIR in ${WORKDIR}/submodules/IsaacLab/source/isaaclab*/; do pip install --no-deps -e "$DIR"; done
4240# Logs and other stuff appear under dist-packages per default, so this dir has to be writeable.
4341RUN chmod 777 -R /isaac-sim/kit/
44- # # Pre-install flatdict with --no-build-isolation to work around pkg_resources missing in pip's isolated build env
42+ # Upgrade Isaac Sim's pip to avoid version warnings and build issues
43+ RUN /isaac-sim/python.sh -m pip install --upgrade pip
44+ # Install IsaacLab dependencies
45+ RUN for DIR in ${WORKDIR}/submodules/IsaacLab/source/isaaclab*/; do /isaac-sim/python.sh -m pip install --no-deps -e "$DIR"; done
46+ # Pre-install flatdict with --no-build-isolation to work around pkg_resources missing in pip's isolated build env
4547RUN /isaac-sim/python.sh -m pip install --no-build-isolation flatdict==4.0.1
4648# Install isaaclab
4749RUN ${ISAACLAB_PATH}/isaaclab.sh -i
4850
4951# Patch for osqp in IsaacLab. Downgrade qpsolvers
5052# TODO(alexmillane): Watch the thread here: https://nvidia.slack.com/archives/C06HLQ6CB41/p1764680205807019
5153# and remove this thread when IsaacLab has a fix.
52- 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 \
5355 echo "OSQP is installed. You can remove this clause from the Arena dockerfile."; \
5456 else \
5557 echo "OSQP missing, installing... This is a patch for an Isaac Lab bug."; \
@@ -134,7 +136,7 @@ RUN echo "alias pytest='/isaac-sim/python.sh -m pytest'" >> /etc/bash.bashrc
134136# It will pause waiting for the debugger to attach.
135137# 3) Attach to the running container with VSCode using the "Attach to debugpy session"
136138# configuration from the Run and Debug panel.
137- RUN pip3 install debugpy
139+ RUN /isaac-sim/python.sh -m pip install debugpy
138140RUN echo "alias debugpy='python -Xfrozen_modules=off -m debugpy --listen localhost:5678 --wait-for-client'" >> /etc/bash.bashrc
139141
140142# Change prompt so it's obvious we're inside the arena container
0 commit comments