blob: d84f0f4bd5008f509522e09cde13fc2f82f09c51 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
set -x
printf "\033[1;32mMake sure dockerd is running before running this script.\n\033[00m"
pushd docker-container
docker build . -t coolc-spim
popd
docker run --name coolc-spim -v "$(pwd)/class-code:/usr/class" -v "$(pwd)/my-code:/usr/code" -d coolc-spim tail -f /dev/null
docker exec -it coolc-spim bash
|