Sha256: 7eed8255cc98e2b888725bd8b55e66c84627e2674be20ebae1df0579fa80fbc8
Contents?: true
Size: 351 Bytes
Versions: 44
Compression:
Stored size: 351 Bytes
Contents
docker_pull() { repo=<%= data[:repo] %> tag=<%= data[:tag] %> docker pull $repo:$tag } worked=1 for attempt in {1..200}; do [[ $worked != 0 ]] || break docker_pull && worked=0 || (log "fetch: attempt $attempt failed, sleeping 30"; sleep 30) done [[ $worked != 0 ]] && fatal "failed to import image" log "fetch: successfully imported image"
Version data entries
44 entries across 44 versions & 1 rubygems