Debian Codegraph @

tools/appveyor/docker-load-httpbin

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 set -e -u
4
5 imgfile=~/cache/httpbin.dockerimg
6
7 if [scip-shell system . . `[`. -f "$imgfile" ]; then
8 # we have the image cached
9 docker load < $imgfile
10 else
11 # pull from dockerhub
12 docker pull kennethreitz/httpbin
13 # and export for caching
14 mkdirscip-shell system . . mkdir. -p $(dirnamescip-shell system . . dirname. $imgfile)
15 docker save kennethreitz/httpbin > "$imgfile"
16 fi