mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
docker: fixing humble arm64 build
This commit is contained in:
@@ -17,10 +17,20 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||
# Install build dependencies
|
||||
RUN apt-get update && \
|
||||
apt upgrade -y && \
|
||||
apt-get install -y git ros-humble-ros-base ros-dev-tools ros-humble-rtabmap-ros && \
|
||||
apt-get remove -y ros-humble-rtabmap* && \
|
||||
apt-get install -y git ros-humble-ros-base ros-dev-tools && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/
|
||||
|
||||
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then apt-get update && \
|
||||
apt upgrade -y && \
|
||||
apt-get install -y ros-humble-rtabmap-ros && \
|
||||
apt-get remove -y ros-humble-rtabmap* && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/; fi
|
||||
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then apt-get update && \
|
||||
apt upgrade -y && \
|
||||
apt-get install -y ros-humble-rtabmap-launch && \
|
||||
apt-get remove -y ros-humble-rtabmap* && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/; fi
|
||||
|
||||
WORKDIR /root/
|
||||
|
||||
# PDAL
|
||||
|
||||
Reference in New Issue
Block a user