We've been using tar directly on the base image folder, and this makes
the file ordering unpredictable between filesystems, so we use find and
sort so that the files are always tarred in the same order, producing the same
hash in different filesystems.
We also now set the mtime to the specific Unix timestamp 0, to avoid differences
due to timezones.
Also remove the dest folder before calculating the hash.
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
This commit changes the automation scripts so that the base image
is built together with the rest of the supervisor. We use a hash of
the contents of the base-image folder as tag for the base image so
that unnecessary rebuilds are avoided.
The build scripts are also modified to always clean up the resulting base image
and the image used to build it. We use docker pull and push to enable caching.
Change-Type: patch
Signed-off-by: Pablo Carranza Velez <pablo@resin.io>
Because the i397 architecture has no support for the SSE instruction set
we must make sure we do not issue any of these instructions.
Signed-off-by: Theodor Gherzan <theodor@resin.io>
Generally, the armel port of debian targets the armv4t ABI. However
nodejs is specifically compiled against armv5t-vfp so we choose to have
the whole base image as such.
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
The `docker build` only creates the build environment. No need to send
the huge context to the docker daemon
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
This commit adds two openembedded layers as submodules and a default
configuration to build a minimal image
Signed-off-by: Petros Angelatos <petrosagg@gmail.com>