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 yun-long.song@outlook.com \
&& 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