docker export can result in changes to the image and is dependent on the docker daemon version. cache the tarball as a file instead.