Skip to content

Commit c7973c4

Browse files
committed
Clean up build artifacts after installation in Dockerfile
1 parent a161b0b commit c7973c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/teleop_ros2/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ RUN --mount=type=cache,target=/opt/isaacteleop/build,id=isaacteleop-teleop-ros2-
8383
-DENABLE_CLANG_FORMAT_CHECK=OFF \
8484
-DISAAC_TELEOP_PYTHON_VERSION=${PYTHON_VERSION} \
8585
&& cmake --build build --config Release -j$(nproc) \
86-
&& cmake --install build --config Release
86+
&& cmake --install build --config Release \
87+
&& rm -rf build
8788

8889
COPY --chmod=644 <<EOF /usr/local/bin/teleop-env-setup
8990
source /opt/ros/${ROS_DISTRO}/setup.bash

0 commit comments

Comments
 (0)