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.
 
 
 
 
 
 

12 lines
271 B

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