Skip to content

Commit 77e309a

Browse files
alexmillaneZehao Wang (TME)
andcommitted
Fix Dockerfile pip usage and add SSL cert support for Lightwheel SDK (#449)
Fix Dockerfile pip usage and add SSL cert support for Lightwheel SDK - Copy(with small modifications) of MR from external contributor #423 --------- Co-authored-by: Zehao Wang (TME) <zehao.wang+tme@external.toyota-europe.com>
1 parent 1c4e0ac commit 77e309a

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

docker/Dockerfile.isaaclab_arena

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ ENV ISAACLAB_PATH=${WORKDIR}/submodules/IsaacLab
3636
ENV TERM=xterm
3737
# Symlink isaac sim to IsaacLab
3838
RUN ln -s /isaac-sim/ ${WORKDIR}/submodules/IsaacLab/_isaac_sim
39-
# Install IsaacLab dependencies
40-
RUN for DIR in ${WORKDIR}/submodules/IsaacLab/source/isaaclab*/; do /isaac-sim/python.sh -m pip install --no-deps -e "$DIR"; done
4139
# Logs and other stuff appear under dist-packages per default, so this dir has to be writeable.
4240
RUN chmod 777 -R /isaac-sim/kit/
4341
# Make /isaac-sim directory traversable and readable by all users
4442
# This is needed when entrypoint switches to non-root user
4543
RUN chmod a+x /isaac-sim
44+
# Upgrade Isaac Sim's pip to avoid version warnings and build issues
45+
RUN /isaac-sim/python.sh -m pip install --upgrade pip
46+
# Install IsaacLab dependencies
47+
RUN for DIR in ${WORKDIR}/submodules/IsaacLab/source/isaaclab*/; do /isaac-sim/python.sh -m pip install --no-deps -e "$DIR"; done
4648
# NOTE(alexmillane, 2026-02-10): We started having issues with flatdict 4.0.1 installation
4749
# during IsaacLab install. We install here with build isolation which seems to fix the issue.
4850
RUN /isaac-sim/python.sh -m pip install flatdict==4.0.1 --no-build-isolation

docker/run_docker.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ else
137137
"-v" "/tmp/.X11-unix:/tmp/.X11-unix:rw"
138138
"-v" "/var/run/docker.sock:/var/run/docker.sock"
139139
"-v" "$HOME/.Xauthority:/root/.Xauthority"
140+
# Mount host SSL certificate store so the container trusts CA certs
141+
"-v" "/etc/ssl/certs:/etc/ssl/certs:ro"
140142
"--env" "DISPLAY"
141143
"--env" "ACCEPT_EULA=Y"
142144
"--env" "PRIVACY_CONSENT=Y"
@@ -147,11 +149,9 @@ else
147149
# Setting envs for XR: https://isaac-sim.github.io/IsaacLab/v2.1.0/source/how-to/cloudxr_teleoperation.html#run-isaac-lab-with-the-cloudxr-runtime
148150
"--env" "XDG_RUNTIME_DIR=${WORKDIR}/submodules/IsaacLab/openxr/run"
149151
"--env" "XR_RUNTIME_JSON=${WORKDIR}/submodules/IsaacLab/openxr/share/openxr/1/openxr_cloudxr.json"
150-
# NOTE(alexmillane, 2025.07.23): This looks a bit suspect to me. We should be running
151-
# as a user inside the container, not root. I've left it in for now, but we should
152-
# remove it, if indeed it's not needed.
153-
# "--env" "OMNI_KIT_ALLOW_ROOT=1"
154152
"--env" "ISAACLAB_PATH=${WORKDIR}/submodules/IsaacLab"
153+
# Tell requests/urllib3 to use the system cert bundle
154+
"--env" "REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt"
155155
)
156156

157157
# map omniverse auth or config so we have connection to the dev nucleus

0 commit comments

Comments
 (0)