SHARE
TWEET

Untitled

a guest Aug 20th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. set -eu
  4.  
  5. SRCDIR=$(dirname $0)/..
  6.  
  7. WORKSPACE=$(mktemp -d);
  8. echo "workspace created: $WORKSPACE"
  9.  
  10. ARTIFACTS_DIR=$WORKSPACE/artifacts
  11.  
  12. mkdir $ARTIFACTS_DIR
  13.  
  14. cp -prv $SRCDIR/*.log $ARTIFACTS_DIR
  15.  
  16. echo "artifacts copied..."
  17.  
  18. cp Dockerfile $WORKSPACE
  19.  
  20. docker build $WORKSPACE
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top