For some testing I’m doing I need a set of images of a specific size to simulate pulling larger vs smaller image.
Here is a quick script I put together for generating a 200mb, 600mb, 1000mb and 2000mb image (tiny bit larger as alpine included). Took a while to work out best to use
/dev/zero as with
zero the images got compressed for transfer.