February-28th-2018, 06:28 PM
Well I have the following recommendation for you.
All Hilscher example codes are optimized to make the docker image as small as possible.
Because of this you will find a single "RUN" command that installs everything in a single command:
#do installation
RUN apt-get update \
&& apt-get install curl libboost-filesystem1.62-dev libboost-date-time1.62-dev libjansson-dev p7zip-full build- essential \ and so on
You can change for tests the whole script file to multiple "RUN" commands like
RUN apt-get update
RUN apt-get install curl libboost-filesystem1.62-dev libboost-date-time1.62-dev libjansson-dev p7zip-full build- essential and so on
By this method the automatic build process gives you a better result in the log file then that maybe helps you why the build process does not work on the web.
Another question is: do you have a Raspberry Pi 3 instead where you can compile the container locally to debug why it does not work?
As next your Fieldbus Container uses "FROM resin/armv7hf-debiantretch" as first command. So it loads Debian Stretch as base image. Just for a test change it to "FROM resin/armv7hf-debian:jessie" which used Debian:jessie as OS. This one ise used by the FRAM node. And it works with the Fieldbus node as well.
All Hilscher example codes are optimized to make the docker image as small as possible.
Because of this you will find a single "RUN" command that installs everything in a single command:
#do installation
RUN apt-get update \
&& apt-get install curl libboost-filesystem1.62-dev libboost-date-time1.62-dev libjansson-dev p7zip-full build- essential \ and so on
You can change for tests the whole script file to multiple "RUN" commands like
RUN apt-get update
RUN apt-get install curl libboost-filesystem1.62-dev libboost-date-time1.62-dev libjansson-dev p7zip-full build- essential and so on
By this method the automatic build process gives you a better result in the log file then that maybe helps you why the build process does not work on the web.
Another question is: do you have a Raspberry Pi 3 instead where you can compile the container locally to debug why it does not work?
As next your Fieldbus Container uses "FROM resin/armv7hf-debiantretch" as first command. So it loads Debian Stretch as base image. Just for a test change it to "FROM resin/armv7hf-debian:jessie" which used Debian:jessie as OS. This one ise used by the FRAM node. And it works with the Fieldbus node as well.
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)