From 81fa26d19bb9d9858a1766114a1c85da98c955e8 Mon Sep 17 00:00:00 2001 From: AutonomousHansen <50837800+AutonomousHansen@users.noreply.github.com> Date: Thu, 26 Oct 2023 14:29:30 -0400 Subject: [PATCH] Fix broken bash version evaluation in Dockerfile (#211) # Description Tiny PR to fix bash evaluation of ISAACSIM_VERSION in Dockerfile. Before, it would fail and streaming from Isaac2022.2.1 would fail. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Checklist - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `./orbit.sh --format` - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have updated the changelog and the corresponding version in the extension's `config/extension.toml` file --- docker/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index 178940d987..2219d367dd 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,6 +10,9 @@ ARG ISAACSIM_VERSION FROM nvcr.io/nvidia/isaac-sim:${ISAACSIM_VERSION} +# Set default RUN shell to bash +SHELL ["/bin/bash", "-c"] + # Adds labels to the Dockerfile LABEL version="1.0" LABEL description="Dockerfile for building and running the Orbit framework inside Isaac Sim container image." @@ -17,6 +20,7 @@ LABEL description="Dockerfile for building and running the Orbit framework insid # Arguments # Path to Isaac Sim root folder ARG ISAACSIM_PATH +ARG ISAACSIM_VERSION # Set environment variables ENV LANG=C.UTF-8