Skip to content

Commit

Permalink
fix: switch from lemon tarball to Github copy due to inconsistent ava…
Browse files Browse the repository at this point in the history
…ilability
  • Loading branch information
akevinge committed Nov 12, 2024
1 parent d6160bc commit 121b4b0
Showing 1 changed file with 98 additions and 93 deletions.
191 changes: 98 additions & 93 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,100 +33,100 @@ RUN apt-get update && apt update && apt upgrade -y && \
# =================================
## apt-get installs ===============
apt-get install -y \
# important linux tool
wget \
# install python libraries
python3-pip \
# be able to use git inside container
git \
#
fprintd \
#
libfprint-2-2:amd64 \
#
libgl1-mesa-glx \
#
libglib2.0-0 \
#
libpam-fprintd:amd64 \
#
libsm6 \
#
libxrender-dev \
#
libxext6 \
#
ninja-build \
#
ros-humble-diagnostic-updater \
# important linux tool
wget \
# install python libraries
python3-pip \
# be able to use git inside container
git \
#
fprintd \
#
libfprint-2-2:amd64 \
#
libgl1-mesa-glx \
#
libglib2.0-0 \
#
libpam-fprintd:amd64 \
#
libsm6 \
#
libxrender-dev \
#
libxext6 \
#
ninja-build \
#
ros-humble-diagnostic-updater \
# =================================
# apt installs ====================
&& apt install -y \
#
alsa-base \
#
alsa-utils \
#
byobu \
#
espeak \
#
ffmpeg \
#
libespeak1 \
#
libsndfile1-dev \
#
minicom \
#
python3-matplotlib \
#
python3-nose \
#
python3-scipy \
#
ros-humble-ament-cmake* \
# needed for ros2_numpy package (maybe others)
ros-humble-ament-cmake-nose \
#
ros-humble-async-web-server-cpp \
#
ros-humble-cv-bridge \
#
ros-humble-image-transport \
#
ros-humble-joy-linux \
#
ros-humble-lgsvl-msgs \
# Nav2 stack - used for path planning
ros-humble-navigation2 \
#
ros-humble-pcl-conversions \
#
ros-humble-pcl-ros \
#
ros-humble-rmw-fastrtps-cpp \
#
ros-humble-robot-localization \
#
ros-humble-rosbridge-server \
#
ros-humble-ros-testing \
# rqt provides oscilliscope-style plotting of topics, etc
ros-humble-rqt* \
#
ros-humble-rviz2 \
#
ros-humble-tf-transformations \
# ROS Support for Velodyne LiDAR
ros-humble-velodyne-driver \
ros-humble-velodyne-laserscan \
ros-humble-velodyne-msgs \
ros-humble-velodyne-pointcloud \
#
ros-humble-vision-opencv \
#
software-properties-common \
#
alsa-base \
#
alsa-utils \
#
byobu \
#
espeak \
#
ffmpeg \
#
libespeak1 \
#
libsndfile1-dev \
#
minicom \
#
python3-matplotlib \
#
python3-nose \
#
python3-scipy \
#
ros-humble-ament-cmake* \
# needed for ros2_numpy package (maybe others)
ros-humble-ament-cmake-nose \
#
ros-humble-async-web-server-cpp \
#
ros-humble-cv-bridge \
#
ros-humble-image-transport \
#
ros-humble-joy-linux \
#
ros-humble-lgsvl-msgs \
# Nav2 stack - used for path planning
ros-humble-navigation2 \
#
ros-humble-pcl-conversions \
#
ros-humble-pcl-ros \
#
ros-humble-rmw-fastrtps-cpp \
#
ros-humble-robot-localization \
#
ros-humble-rosbridge-server \
#
ros-humble-ros-testing \
# rqt provides oscilliscope-style plotting of topics, etc
ros-humble-rqt* \
#
ros-humble-rviz2 \
#
ros-humble-tf-transformations \
# ROS Support for Velodyne LiDAR
ros-humble-velodyne-driver \
ros-humble-velodyne-laserscan \
ros-humble-velodyne-msgs \
ros-humble-velodyne-pointcloud \
#
ros-humble-vision-opencv \
#
software-properties-common \
# cleanup to make image smaller
&& apt clean && rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -238,8 +238,13 @@ WORKDIR /
RUN mkdir /lib/x86_64-linux-gnu/cmake/pcl/include && ln -s /usr/include/pcl-1.10/pcl /lib/x86_64-linux-gnu/cmake/pcl/include/pcl

# Lemon
# Library for Efficient Modeling and Optimization in Networks. It is a C++ template library providing efficient implementations of common data structures and algorithms with focus on combinatorial optimization tasks connected mainly with graphs and networks.
RUN wget http://lemon.cs.elte.hu/pub/sources/lemon-1.3.1.tar.gz && tar xvzf lemon-1.3.1.tar.gz && cd lemon-1.3.1 && mkdir build && cd build && cmake .. && make && make install
# Library for Efficient Modeling and Optimization in Networks.
# It is a C++ template library providing efficient implementations of common data structures and algorithms
# with focus on combinatorial optimization tasks connected mainly with graphs and networks.
RUN git clone https://github.com/The-OpenROAD-Project/lemon-graph.git && cd lemon-graph \
# This specific commit is for Lemon-1.3.1. See https://github.com/The-OpenROAD-Project/lemon-graph/commits/master.
&& git checkout 62ac753 \
&& mkdir build && cd build && cmake .. && make && make install

# RUN useradd -ms /bin/bash docker
RUN usermod -a -G dialout root
Expand Down

0 comments on commit 121b4b0

Please sign in to comment.