mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
docker cleanup
This commit is contained in:
@@ -4,16 +4,19 @@ FROM osrf/ros:humble-desktop
|
||||
|
||||
# Install build dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get install -y git software-properties-common ros-humble-rtabmap-ros libmrpt-poses-dev && \
|
||||
apt-get remove -y ros-humble-rtabmap
|
||||
apt-get install -y git software-properties-common ros-humble-rtabmap-ros && \
|
||||
apt-get remove -y ros-humble-rtabmap && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/
|
||||
|
||||
WORKDIR /root/
|
||||
|
||||
# PDAL
|
||||
RUN apt-get install -y libpdal-dev
|
||||
RUN apt-get update && apt-get install -y libpdal-dev && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/
|
||||
|
||||
# RealSense2
|
||||
RUN apt-get install -y ros-humble-librealsense2
|
||||
RUN apt-get update && apt-get install -y ros-humble-librealsense2 && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/
|
||||
|
||||
ARG TARGETPLATFORM
|
||||
ENV TARGETPLATFORM=${TARGETPLATFORM:-linux/amd64}
|
||||
@@ -24,6 +27,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||
# libfreenect2
|
||||
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then echo "Installing libfreenect2..." && \
|
||||
apt-get update && apt-get install -y mesa-utils xserver-xorg-video-all libusb-1.0-0-dev libturbojpeg0-dev libglfw3-dev && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/ && \
|
||||
git clone https://github.com/OpenKinect/libfreenect2 && \
|
||||
cd libfreenect2 && \
|
||||
mkdir build && \
|
||||
@@ -37,6 +41,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then echo "Installing libfreenect2
|
||||
# zed open capture
|
||||
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then echo "Installing zed-open-capture..." && \
|
||||
apt-get update && apt install libusb-1.0-0-dev libhidapi-libusb0 libhidapi-dev wget && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/ && \
|
||||
git clone https://github.com/stereolabs/zed-open-capture.git && \
|
||||
cd zed-open-capture && \
|
||||
mkdir build && \
|
||||
@@ -48,7 +53,8 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then echo "Installing zed-open-cap
|
||||
rm -r zed-open-capture; fi
|
||||
|
||||
#commit Aug 6 2020
|
||||
RUN apt-get update && apt install wget
|
||||
RUN apt-get update && apt install wget && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists/
|
||||
RUN git clone https://github.com/laurentkneip/opengv.git && \
|
||||
cd opengv && \
|
||||
git checkout 91f4b19c73450833a40e463ad3648aae80b3a7f3 && \
|
||||
|
||||
Reference in New Issue
Block a user