Docker Hardened Images on Cloud Build

Hi everyone,

Has anyone had success on Cloud Build with building images when based on those from DockerHub’s Hardened Images catalog?
Cloud Build is running version 20.10.24 of Docker Engine which doesn’t seem to be working with these images.
Just trying to pull the images from the catalog results in the following error:
failed to register layer: Error processing tar file(exit status 1): archive/tar: invalid tar header

Are there any plans currently to upgrade the Docker Engine version used on Cloud Build some time in the future?

Thanks!

2 Likes

I use them and deploy them via cloud build. cloud build is just a compiler, really. It’s most important that you have an image that requires a hardened image and one that can be stripped down effectively and still run. I use vanilla python and almost zero external packages outside pandas and google sdks.

2 Likes