balena-supervisor/base-image
Pablo Carranza Velez 9540ed415b Make the base image hash more deterministic
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>
2016-12-17 15:37:22 -03:00
..
automation Make the base image hash more deterministic 2016-12-17 15:37:22 -03:00
bitbake@25859009b7 initial skeleton for openembedded based docker image 2016-09-13 15:02:43 -07:00
build/conf meta-resin-supervisor: Create new layer 2016-11-03 14:16:37 +01:00
meta-nodejs@65ccd459ec update nodejs to 6.5.0 2016-09-13 16:31:28 -07:00
meta-resin-supervisor Bump the MAX_BASIS_DIRS limit for rsync. 2016-12-09 16:26:08 +01:00
oe-core@dd330056ac initial skeleton for openembedded based docker image 2016-09-13 15:02:43 -07:00
.dockerignore add .dockerignore for base-image Dockerfile 2016-09-13 16:31:27 -07:00
build.sh use shared folders (downloads and sstate) in yocto build 2016-09-13 16:31:28 -07:00
Dockerfile use shared folders (downloads and sstate) in yocto build 2016-09-13 16:31:28 -07:00