Docker Community Forums

Share and learn in the Docker community.

Yocto in Docker : all-gcc


I want build a Linux image with Yocto in Docker container.
(I already build a Linux Image with Yocto but on VirtualBox, and now, I would like build it on Docker)

For this, I tried many distribution in ‘dockerfile’ (opensue, ubuntu14.10, ubuntu14.04, …) but yocto build return me alaways an error. An occured error is

 rm gcc.pod
| make[1]: Leaving directory `/home/aquassay/yocto/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/5.3.0-r0/gcc-5.3.0/build.x86_64-linux.arm-poky-linux-gnueabi/gcc'
| make: *** [all-gcc] Error 2
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/aquassay/yocto/build/tmp/work/x86_64-linux/gcc-cross-initial-arm/5.3.0-r0/temp/log.do_compile.85832)

Can you help me with this error ? I do not understand the origin…

Best Regards,
Mickaël Delanoë