dockerized-workstation/Makefile

13 lines
267 B
Makefile
Raw Normal View History

REMOTEHOST := root@las2.bounce
2019-01-11 06:22:53 +00:00
default: remote-build
build:
docker build -t sneak/dockerized-workstation .
upload:
rsync -avP --delete ./ $(REMOTEHOST):dockerized-workstation/
2019-01-11 06:22:53 +00:00
remote-build: upload
ssh -t $(REMOTEHOST) "cd dockerized-workstation && make build"