You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
310 B

#!/bin/bash
3 years ago
set -ex
source $(dirname $0)/rootdir.sh #set ROOTDIR
3 years ago
ARGS=$@
docker run \
3 years ago
--env-file $ROOTDIR/.env \
3 years ago
--env-file $ROOTDIR/.env.private \
-v $ROOTDIR:/volume \
-v cargo-cache:/root/.cargo/registry \
-w /volume \
-it \
unki/musllibs \
3 years ago
bash -c "umask 0000; cargo $ARGS"