add 1panel script
This commit is contained in:
parent
d9cbcdac83
commit
c5da871e36
27
1p.sh
Executable file
27
1p.sh
Executable file
@ -0,0 +1,27 @@
|
||||
#!/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 dl
|
||||
mkdir -p ${CURR}/ib_${TARGET}
|
||||
|
||||
docker run --rm -u $(id -u):$(id -g) \
|
||||
-v ${CURR}:/work \
|
||||
-v ${CURR}/ib_${TARGET}:/work/ib \
|
||||
-e WORK_TARGET=${TARGET} \
|
||||
linkease/runmynas:latest
|
||||
|
Loading…
Reference in New Issue
Block a user