I am dealing with the following issue:
A robot has an old Gentoo OS:
Linux bob 184.108.40.206-rt31-aldebaran-rt #1 SMP PREEMPT RT Thu Aug 27 21:42:34 CEST 2015
- I am trying to build a toolchain for this robot, so that I can compile new apps using gcc/g++ 4.9 or later.
- The robot doesn't support this and there is limited space.
- I tried setting RPATH to copy newer library versions but there is simply too many problems involved, it didn't work and the only solution was static linking.
- It seems to me that I need to build apps by creating a rootfs from the robot.
the entire robot OS to my computer.
Now I want to build a docker image, so that I can use it to build gcc/g++ from scratch without the Robot's limitations (it has an
Intel(R) Atom(TM) CPU Z530 @ 1.60GHz
, 1Gb of RAM and only 29Mb of hard disk available).
My questions are (treat me as a noob to docker):
Are there any other hints, tips or issues from somebody who has done this before?
I want to use docker and not chroot since this eventually should be part of an automated tool for building apps for the robot but built on other machines.
Many thanks in advance!