Skip to content

Instantly share code, notes, and snippets.

@yun-long
Created July 8, 2020 06:51
Show Gist options
  • Save yun-long/89ca4f62d25a0ec25ccc8991d91abd65 to your computer and use it in GitHub Desktop.
Save yun-long/89ca4f62d25a0ec25ccc8991d91abd65 to your computer and use it in GitHub Desktop.
FROM ros:melodic-ros-core-bionic
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
python3 python3-dev python3-pip \
cmake \
git \
ca-certificates \
libzmqpp-dev \
libopencv-dev \
ros-melodic-catkin \
python-catkin-tools \
ssh \
ros-melodic-desktop-full \
autoconf \
libtool \
&& rm -rf /var/lib/apt/lists/*
RUN cd /home && mkdir -p pi/catkin_ws/src && cd /home/pi/catkin_ws/ && catkin config --init --mkdirs --extend /opt/ros/melodic --merge-devel --cmake-args -DCMAKE_BUILD_TYPE=Release
RUN cd /home/pi/catkin_ws/src && git config --global user.name "Yunlong" \
&& git config --global user.email [email protected] \
&& git clone https://github.com/SihaoSun/sees_driver.git \
&& git clone https://github.com/ethz-asl/eigen_catkin.git \
&& git clone https://github.com/catkin/catkin_simple.git \
&& git clone https://github.com/ethz-asl/eigen_checks.git \
&& git clone https://github.com/ethz-asl/glog_catkin.git \
&& git clone https://github.com/ethz-asl/gflags_catkin.git \
&& git clone https://github.com/ethz-asl/minkindr.git \
&& git clone https://github.com/ethz-asl/minkindr_ros.git \
&& git clone https://github.com/ros/dynamic_reconfigure.git \
&& git clone https://github.com/ros/geometry.git \
&& git clone https://github.com/ethz-asl/catkin_boost_python_buildtool.git \
&& git clone https://github.com/ethz-asl/numpy_eigen.git \
&& catkin build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment