Compare commits

...

3 Commits

Author SHA1 Message Date
Oleg Kalachev
8cbc1a5881 Revert "image: remove .git to reduce size"
This reverts commit 60fe4469c7.
2021-03-26 03:09:55 +03:00
Oleg Kalachev
814064c9a3 image: replace _book/assets with a symlink to reduce image size 2021-03-26 01:34:08 +03:00
Oleg Kalachev
60fe4469c7 image: remove .git to reduce size 2021-03-25 23:14:34 +03:00

View File

@@ -101,6 +101,7 @@ cd /home/pi/catkin_ws/src/clover
NPM_CONFIG_UNSAFE_PERM=true npm install gitbook-cli -g NPM_CONFIG_UNSAFE_PERM=true npm install gitbook-cli -g
NPM_CONFIG_UNSAFE_PERM=true gitbook install NPM_CONFIG_UNSAFE_PERM=true gitbook install
gitbook build gitbook build
rm -rf _book/assets/ && ln -s ../docs/assets/ _book/assets # replace assets with a symlink to reduce image size
touch node_modules/CATKIN_IGNORE docs/CATKIN_IGNORE _book/CATKIN_IGNORE clover/www/CATKIN_IGNORE apps/CATKIN_IGNORE # ignore documentation files by catkin touch node_modules/CATKIN_IGNORE docs/CATKIN_IGNORE _book/CATKIN_IGNORE clover/www/CATKIN_IGNORE apps/CATKIN_IGNORE # ignore documentation files by catkin
echo_stamp "Installing additional ROS packages" echo_stamp "Installing additional ROS packages"