parameterized remote host, set to non-tor hostname
This commit is contained in:
parent
7c027f5905
commit
7228b354b7
6
Makefile
6
Makefile
@ -1,10 +1,12 @@
|
|||||||
|
REMOTEHOST := root@las2.bounce
|
||||||
|
|
||||||
default: remote-build
|
default: remote-build
|
||||||
|
|
||||||
build:
|
build:
|
||||||
docker build -t sneak/dockerized-workstation .
|
docker build -t sneak/dockerized-workstation .
|
||||||
|
|
||||||
upload:
|
upload:
|
||||||
rsync -avP --delete ./ root@las2.tor:dockerized-workstation/
|
rsync -avP --delete ./ $(REMOTEHOST):dockerized-workstation/
|
||||||
|
|
||||||
remote-build: upload
|
remote-build: upload
|
||||||
ssh -t root@las2.tor "cd dockerized-workstation && make build"
|
ssh -t $(REMOTEHOST) "cd dockerized-workstation && make build"
|
||||||
|
Loading…
Reference in New Issue
Block a user