Imports github.com/pkg/errors github.com/opencontainers/go-digest github.com/docker/docker/pkg/ioutils github.com/docker/docker/image/v1 github.com/docker/docker/api/types github.com/docker/docker/layer Standard library imports encoding/hex encoding/json errors io/ioutil os path/filepath sync crypto/hmac crypto/sha256