perch/build/release-musl-shell.sh

11 lines
335 B
Bash
Executable file

#!/usr/bin/env sh
set -exo pipefail
docker inspect perch:musl || time docker build --cache-from=internal \
-f build/Dockerfile.musl -t perch:musl .
time docker run \
--rm -itu0 \
-v .:/build -w /build \
-vperch-build-cargo:/home/build/.cargo \
-vperch-build-target:/build/target \
-eRUST_JACK_DLOPEN=true \
perch:musl $@