[ell-i-developers] Re: Robot Framework Docker Images

  • From: Eero Hakala <eero.k.hakala@xxxxxxxxx>
  • To: Asif Sardar <engr.asif.sardar@xxxxxxxxxxxxxx>
  • Date: Fri, 20 Feb 2015 14:17:07 +0200

Hi all, copied both Ell-i's and Ivan's runtime into Asif's docker container
and both got it compiled without errors and even the emulator runs in both
environments in docker (that again runs in  windows!!!).

Next I'll clone RIOT environment into this same container!


-eero-


On Thu, Feb 19, 2015 at 9:41 PM, Eero Hakala <eero.k.hakala@xxxxxxxxx>
wrote:

> Hi Asif, if you add the arm-none-eabi to Dockerfile,
>
> RUN apt-get update && apt-get install -y \
>         make \
>         gcc \
>         g++ \
>         git \
>         python2.7 \
>         python2.7-dev \
>         python-setuptools \
>         gcc-arm-none-eabi
>
> then it compiles (in windows :), with make from stm32/build directory -
> save the emulator!
>
> g++ -m32 -march=i386 -m32 -march=i386 -Xlinker -export-dynamic -o sketch
>  main.o sketch.o ellduino.o libSPI.a "-L."
> "-L/home/Runtime/stm32/build/../variants/ellduino" "-lsystem_ellduino"
> -L/usr/lib/python2.7/ -L/lib/i386-linux-gnu/ -L/lib32 -L/usr/lib32
> -lpython2.7 -lpthread -ldl -lutil -lm -lstdc++
> ./libsystem_ellduino.a(system_init.o): In function `SystemInitPeripherals':
> /home/Runtime/stm32/build/../system/stm32/src/system_init.c:132: undefined
> reference to `__peripheral_start'
> /home/Runtime/stm32/build/../system/stm32/src/system_init.c:132: undefined
> reference to `__peripheral_end'
>
>
>
> -eero-
>
>
>
> On Thu, Feb 19, 2015 at 3:47 PM, Asif Sardar <
> engr.asif.sardar@xxxxxxxxxxxxxx> wrote:
>
>> Hi all,
>>
>> If you have docker installed in your laptops, you would only need to pull
>> one of the following docker images to check the Ell-i robot framework
>> testing environment.
>>
>> - asifsardar26/elli-robotframework-64bit
>> - asifsardar26/elli-robotframework-32bit
>> - elli/robotframework
>>
>> e.g.
>>
>> sudo docker pull elli/robotframework
>>
>> Then
>>
>> sudo docker run -it elli/robotframework
>>
>> Moreover, the dockerfiles for the above images has been committed to the
>> following repository:
>>
>> https://github.com/asifsardar26/Runtime/tree/feature-encX24J600-wip
>>
>> The image (elli/robotframework) is built using 32bit/ubuntu base image,
>> it can be automatically triggered by any changes to the above repository to
>> build the latest image.
>>
>> For example, if I do enhancements to test suites and test scripts and
>> commit these changes to the above repository, this commit will trigger my
>> docker hub repository and start building the latest image!
>>
>> The other images (asifsardar26/elli-robotframework-64bit &
>> asifsardar26/elli-robotframework-32bit) are not build automated, those were
>> built and pushed to docker hub for experimenting the "Dockerfile" and
>> docker hub repositories.
>>
>> --
>>
>>
>>
>> *With Best Regards,Asif Sardar.+358 43 8265795*
>>
>
>

Other related posts: