github.com/quay/claircore@v1.5.28/debian/testdata/fetch-releases.sh (about)

     1  #!/bin/sh
     2  set -ex
     3  trap 'for i in `seq 3`; do find . -empty -delete; done' EXIT
     4  seq 7 99 | while read v; do
     5  	mkdir -p dist/$v/etc
     6  	podman run --rm docker.io/library/debian:$v cat /etc/os-release > dist/$v/etc/os-release ||
     7  		exit 0
     8  done