-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
FROM nvcr.io/nvidia/isaac-sim:4.0.0 | ||
|
||
# Set working directory to root | ||
WORKDIR / | ||
|
||
# Update apt-get and install necessary packages | ||
RUN apt-get update && \ | ||
apt-get install -y git curl git-lfs && \ | ||
git lfs install | ||
|
||
# Clone the required repositories | ||
RUN git clone https://github.com/AuTURBO/StrideSim.git && \ | ||
git clone https://github.com/isaac-sim/IsaacLab.git -b v1.0.0 | ||
|
||
# Install ROS 2 Humble | ||
# RUN apt-get update && apt-get install -y locales software-properties-common && \ | ||
# locale-gen en_US en_US.UTF-8 && \ | ||
# update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 && \ | ||
# add-apt-repository universe && \ | ||
# curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg && \ | ||
# echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" > /etc/apt/sources.list.d/ros2.list && \ | ||
# apt-get update && \ | ||
# apt-get install -y ros-humble-desktop | ||
|
||
# Install Miniconda (latest version) | ||
RUN curl -sS https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh && \ | ||
bash miniconda.sh -b -p /opt/miniconda && \ | ||
rm miniconda.sh && \ | ||
/opt/miniconda/bin/conda init | ||
|
||
# Set environment variables for conda | ||
ENV PATH="/opt/miniconda/bin:$PATH" | ||
|
||
# Set up IsaacLab | ||
WORKDIR /IsaacLab | ||
RUN ln -s /isaac-sim _isaac_sim && \ | ||
./isaaclab.sh --conda && \ | ||
/opt/miniconda/bin/conda run -n isaaclab ./isaaclab.sh --install | ||
|
||
# Set up StrideSim | ||
WORKDIR /StrideSim/rl | ||
RUN python -m pip install -e . |