Commit 4484836 1 parent 3ccf473 commit 4484836 Copy full SHA for 4484836
File tree 1 file changed +21
-4
lines changed
1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change @@ -5,13 +5,19 @@ WORKDIR /
5
5
6
6
# Update apt-get and install necessary packages
7
7
RUN apt-get update && \
8
- apt-get install -y git curl git-lfs && \
8
+ apt-get install -y git curl git-lfs cmake vim gedit && \
9
9
git lfs install
10
10
11
11
# Clone the required repositories
12
12
RUN git clone https://github.com/AuTURBO/StrideSim.git && \
13
13
git clone https://github.com/isaac-sim/IsaacLab.git -b v1.0.0
14
14
15
+ WORKDIR /StrideSim
16
+
17
+ # update git lfs
18
+ RUN git lfs fetch && \
19
+ git lfs pull
20
+
15
21
# Install ROS 2 Humble
16
22
# RUN apt-get update && apt-get install -y locales software-properties-common && \
17
23
# locale-gen en_US en_US.UTF-8 && \
@@ -23,6 +29,8 @@ RUN git clone https://github.com/AuTURBO/StrideSim.git && \
23
29
# apt-get install -y ros-humble-desktop
24
30
25
31
# Install Miniconda (latest version)
32
+ WORKDIR /
33
+
26
34
RUN curl -sS https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -o miniconda.sh && \
27
35
bash miniconda.sh -b -p /opt/miniconda && \
28
36
rm miniconda.sh && \
@@ -33,9 +41,18 @@ ENV PATH="/opt/miniconda/bin:$PATH"
33
41
34
42
# Set up IsaacLab
35
43
WORKDIR /IsaacLab
36
- RUN ln -s /isaac-sim _isaac_sim && \
37
- ./isaaclab.sh --conda && \
38
- /opt/miniconda/bin/conda run -n isaaclab ./isaaclab.sh --install
44
+
45
+ # Create symbolic link
46
+ RUN ln -s /isaac-sim _isaac_sim
47
+
48
+ # Initialize conda
49
+ RUN /bin/bash -c "source /opt/miniconda/etc/profile.d/conda.sh"
50
+
51
+ # Run conda setup
52
+ RUN /bin/bash -c "./isaaclab.sh --conda"
53
+
54
+ # Install IsaacLab
55
+ RUN /bin/bash -c "./isaaclab.sh --install"
39
56
40
57
# Set up StrideSim
41
58
WORKDIR /StrideSim/rl
You can’t perform that action at this time.
0 commit comments