@cas Thanks Cas - I set up a new 120GB SSD specifically for this 'machine' so apart from the fresh install of Ubuntu there is nothing else on the disk - i can see docker in var/lib - so with the container resizing I should be fine.
I got a successful compile of the image on my second attempt.
However, when I try to compile the example code from:
https://github.com/OnionIoT/c-cross-compile-example.git
I get the following error
make: /root/source/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/bin/mipsel-openwrt-linux-gcc: Command not found
I note that the git directory I cloned from hasn't been touched for 2 years so this example is likely out of date. When I look in /root/source/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/ there is no bin directory. I found a bin directory with the mipsel-openwrt-linux-gcc in /root/source/staging_dir/toolchain-mipsel_24kc_gcc-7.3.0_musl but I have no idea what to edit to ensure that this file is used - it doesn't appear to be the makefile ?