2021-08-25 20:20:20 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2021-09-04 14:43:54 +00:00
|
|
|
set -eu
|
|
|
|
|
2021-08-25 20:20:20 +00:00
|
|
|
(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
|