forked from synit/synit
14 lines
321 B
Bash
Executable File
14 lines
321 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
(cd ..; cross build --target x86_64-unknown-linux-musl) &
|
|
make -C ../../../syndicate-rs static &
|
|
wait
|
|
|
|
cp -a ../target/x86_64-unknown-linux-musl/debug/synit-pid1 .
|
|
cp -a ../../../syndicate-rs/target/x86_64-unknown-linux-musl/debug/syndicate-server .
|
|
|
|
docker build -t synit .
|
|
docker run -it --rm synit
|