github.com/iaintshine/docker@v1.8.2/contrib/reprepro/suites.sh (about) 1 #!/bin/bash 2 set -e 3 4 cd "$(dirname "$BASH_SOURCE")/../.." 5 6 targets_from() { 7 git fetch -q https://github.com/docker/docker.git "$1" 8 git ls-tree -r --name-only origin/master contrib/builder/deb | grep '/Dockerfile$' | sed -r 's!^contrib/builder/deb/|-debootstrap|/Dockerfile$!!g' 9 } 10 11 { targets_from master; targets_from release; } | sort -u