parameterized remote host, set to non-tor hostname

This commit is contained in:
Jeffrey Paul 2019-01-11 06:23:29 +00:00
parent 7c027f5905
commit 7228b354b7

View File

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