mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 03:36:41 +01:00
glibc static build
This commit is contained in:
parent
393634a1a4
commit
59372911d2
12 changed files with 62 additions and 22 deletions
14
build/release-glibc.sh
Executable file
14
build/release-glibc.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env sh
|
||||
set -exo pipefail
|
||||
docker inspect tek:glibc || time docker build --cache-from=internal \
|
||||
-f build/Dockerfile.glibc -t tek:glibc .
|
||||
time docker run \
|
||||
--rm -itu0 \
|
||||
-v .:/build -w /build \
|
||||
-vtek-build-cargo:/home/build/.cargo \
|
||||
-vtek-build-target:/build/target \
|
||||
-eRUST_JACK_DLOPEN=true \
|
||||
tek:glibc sh -c "chown -R 1000:1000 /build/target \
|
||||
&& su build -c '. ~/.cargo/env \
|
||||
&& time cargo build -j4 --release \
|
||||
&& cp target/release/tek build/'"
|
||||
Loading…
Add table
Add a link
Reference in a new issue