run.sh (332B)
1#!/bin/sh 2 3if [ "$1" == "chall" ]; then 4 pushd chall 5 docker build -t cscg22-gearboy-chall . 6 docker run --name "cscg22-gearboy-chall-$$" --net=host -it cscg22-gearboy-chall 7else 8 pushd server 9 docker build -t cscg22-gearboy-testserver . 10 docker run --name "cscg22-gearboy-testserver-$$" --net=host -it cscg22-gearboy-testserver 11fi