@ -1,16 +1,8 @@ | |||||
Build and run : | Build and run : | ||||
. run.sh | |||||
terminate with : | |||||
Ctrl-C | |||||
then: | |||||
cd .. | |||||
$ cd /compose | |||||
$ docker-compose up | |||||
@ -1,25 +0,0 @@ | |||||
#!/bin/bash | |||||
trap "cd '..'" TERM INT | |||||
# run docker-container | |||||
run() { | |||||
cd "compose" && \ | |||||
docker-compose build --no-cache deb-rust && \ | |||||
docker-compose up && \ | |||||
} | |||||
run | |||||
#to do: | |||||
# ctrl-c(sigint): | |||||
# stop and remove container(with custom message) | |||||
# cd .. | |||||