dockerized-workstation/Makefile

13 lines
267 B
Makefile

REMOTEHOST := root@las2.bounce
default: remote-build
build:
docker build -t sneak/dockerized-workstation .
upload:
rsync -avP --delete ./ $(REMOTEHOST):dockerized-workstation/
remote-build: upload
ssh -t $(REMOTEHOST) "cd dockerized-workstation && make build"