blob: 75143fae7638d7bf17d2195b04a5512033bd3aeb [file] [log] [blame]
MYIP:=$(shell hostname -i)
test: common_cloudlab
if [ -a ../../xos_configuration/* ]; then rm ../../xos_configuration/*; fi
cat ../common/Dockerfile.common Dockerfile.test > Dockerfile
cd ../../..; sudo docker build -t xos -f xos/configurations/test/Dockerfile .
# sudo docker run -d --add-host="ctl:$(MYIP)" -p 9999:8000 xos
sudo docker run -i --tty --add-host="ctl:$(MYIP)" -p 9999:8000 xos
common_cloudlab:
make -C ../common -f Makefile.cloudlab