parent
df79be1a69
commit
cb0c10e064
4 changed files with 12 additions and 3 deletions
@ -0,0 +1,2 @@ |
|||||||
|
#!/bin/bash |
||||||
|
docker run -v $PWD:/volume -w /volume -it clux/muslrust cargo build |
@ -0,0 +1,3 @@ |
|||||||
|
#!/bin/bash |
||||||
|
DOCKER_IF_IP=$(ip address show docker0 | grep "inet " | awk '{print $2}' | cut -d'/' -f1) |
||||||
|
docker run --rm -d -v $PWD/target/x86_64-unknown-linux-musl/debug/u_agent:/u_agent centos:7 /u_agent $DOCKER_IF_IP |
Loading…
Reference in new issue