mirror of
https://codeberg.org/unspeaker/vestal.git
synced 2025-12-06 12:56:41 +01:00
This commit is contained in:
parent
07f6f82268
commit
b165573e55
14 changed files with 159 additions and 56 deletions
14
build/release-musl.sh
Executable file
14
build/release-musl.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env sh
|
||||
set -exo pipefail
|
||||
docker inspect vestal:musl || time docker build --cache-from=internal \
|
||||
-f build/Dockerfile.musl -t vestal:musl .
|
||||
time docker run \
|
||||
--rm -itu0 \
|
||||
-v .:/build -w /build \
|
||||
-vvestal-build-cargo:/home/build/.cargo \
|
||||
-vvestal-build-target:/build/target \
|
||||
-eRUST_JACK_DLOPEN=true \
|
||||
vestal:musl sh -c "chown -R 1000:1000 /build/target \
|
||||
&& su build -c 'source ~/.cargo/env \
|
||||
&& just build-release \
|
||||
&& cp target/release/vestal build/'"
|
||||
Loading…
Add table
Add a link
Reference in a new issue