Open majst01 opened 3 years ago
A viable approach would be to store the images in a OCI compatible registry as artifacts. With this approach we must not store 2 files (image and md5sum), and pulling/decompression can be done in parallel.
There is a golang client library available at: https://oras.land/client_libraries/go/
A sample implementation can also be found here: https://github.com/AkihiroSuda/apt-transport-oci/blob/master/pkg/method/method.go
A viable approach would be to store the images in a OCI compatible registry as artifacts. With this approach we must not store 2 files (image and md5sum), and pulling/decompression can be done in parallel.
There is a golang client library available at: https://oras.land/client_libraries/go/
A sample implementation can also be found here: https://github.com/AkihiroSuda/apt-transport-oci/blob/master/pkg/method/method.go