You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
279 B

#!/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 ..