run 251 B

1234567891011
  1. #!/bin/bash
  2. set -e
  3. script_dir="$( dirname "$BASH_SOURCE" )"
  4. project_dir="$( readlink -f "$script_dir/.." )"
  5. docker build -t jacker "$script_dir"
  6. docker run -it -v "$project_dir":/jacker --workdir=/jacker jacker \
  7. bash -c "pip install .; bash"