github.com/dnephin/dobi@v0.15.0/examples/inline-dockerfile/test.sh (about)

     1  #!/usr/bin/env bash
     2  # SUMMARY: Test inline Dockerfile example
     3  # LABELS:
     4  # REPEAT:
     5  # AUTHOR:
     6  set -eu -o pipefail
     7  
     8  cleanup() {
     9      echo "running cleanup"
    10      dobi autoclean
    11  }
    12  trap "cleanup" EXIT
    13  
    14  dobi tree