Skip to content

Commit

Permalink
Faster build
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Feb 8, 2024
1 parent e79e382 commit 0a0ab04
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile.jetson
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ ARG ZED_SDK_MAJOR
ARG ZED_SDK_MINOR
ARG ROS_DISTRO

COPY --from=build /ros2_ws /ros2_ws

SHELL ["/bin/bash", "-c"]

ENV NVIDIA_DRIVER_CAPABILITIES \
Expand Down Expand Up @@ -146,6 +144,7 @@ RUN apt-get update || true && \
rm -rf /var/lib/apt/lists/*

# Check dependencies
COPY --from=build /ros2_ws /ros2_ws
WORKDIR /ros2_ws
RUN apt-get update && \
source /opt/ros/$ROS_DISTRO/setup.bash && \
Expand Down

0 comments on commit 0a0ab04

Please sign in to comment.