Skip to content

Commit

Permalink
[base] Add tomlplusplus
Browse files Browse the repository at this point in the history
  • Loading branch information
luator committed May 28, 2024
1 parent b21495a commit 3db38e5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions trifinger_base.def
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ From: ros:{{ ROS_DISTRO }}-ros-base
# in the bound folder); https://stackoverflow.com/a/73060162/2095383
rm /etc/apt/apt.conf.d/docker-clean

tmp_dir=$(mktemp -d)

apt-get update
apt-get dist-upgrade -y

Expand Down Expand Up @@ -65,6 +67,16 @@ From: ros:{{ ROS_DISTRO }}-ros-base
ros-${ROS_DISTRO}-xacro \
ros-${ROS_DISTRO}-yaml-cpp-vendor

# install tomlplusplus from source
cd "${tmp_dir}"
git clone https://github.com/marzer/tomlplusplus.git -b v3.4.0
cd tomlplusplus
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make install

# for building documentation
apt-get install -y doxygen
python3 -m pip install breathing-cat
Expand Down Expand Up @@ -117,6 +129,9 @@ source /usr/share/colcon_cd/function/colcon_cd.sh
" > /setup.bash


# cleanup
rm -rf "${tmp_dir}"

%labels
Version 3.0.0

Expand Down

0 comments on commit 3db38e5

Please sign in to comment.