runmynas.sh script
This commit is contained in:
parent
4b5b50ed65
commit
70ed138dde
26
runmynas.sh
Executable file
26
runmynas.sh
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
|
||||
TARGET=$1
|
||||
case ${TARGET} in
|
||||
x86_64)
|
||||
;;
|
||||
rk35xx)
|
||||
;;
|
||||
rk33xx)
|
||||
;;
|
||||
*)
|
||||
echo "Please choose target: x86_64 or rk35xx or rk33xx"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
CURR=`pwd`
|
||||
mkdir -p ${CURR}/ib_${TARGET}
|
||||
|
||||
docker run -it --rm \
|
||||
-v ${CURR}:/work \
|
||||
-v ${CURR}/ib_${TARGET}:/work/ib \
|
||||
-e WORK_TARGET=${TARGET} \
|
||||
linkease/runmynas:latest
|
||||
|
Loading…
Reference in New Issue
Block a user