add build docker.
This commit is contained in:
parent
cd788ded0a
commit
cd1c3e5f59
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cross_compile=true
|
cross_compile=true
|
||||||
build_hisi=false
|
build_hisi=false
|
||||||
debug_deploy=true
|
debug_deploy=false
|
||||||
TARGET_IP="172.16.103.79"
|
TARGET_IP="172.16.103.79"
|
||||||
TARGET_PATH="/system/bin"
|
TARGET_PATH="/system/bin"
|
||||||
base_path=$(pwd)
|
base_path=$(pwd)
|
||||||
@ -146,8 +146,8 @@ function deploy_old(){
|
|||||||
# fi
|
# fi
|
||||||
|
|
||||||
if [ $build_hisi = true ]; then
|
if [ $build_hisi = true ]; then
|
||||||
docker run --rm -v /opt:/opt -v .:$(pwd) -w $(pwd) b020_dev make server_protocol
|
docker run -it --rm --user 1000:1000 -v /opt:/opt -v $(pwd):$(pwd) -w $(pwd) frp-by1.wwvvww.cn:45288/nanopb:0.3.9.3 make server_protocol
|
||||||
docker run --rm -v /opt:/opt -v .:$(pwd) -w $(pwd) b020_dev make
|
docker run -it --rm --user 1000:1000 -v /opt:/opt -v $(pwd):$(pwd) -w $(pwd) frp-by1.wwvvww.cn:45288/nanopb:0.3.9.3 make -j6
|
||||||
else
|
else
|
||||||
# docker run --rm -v .:$(pwd) -w $(pwd) b020_dev protoc --nanopb_out=./ 3rdparty/rwSrvProtocol/PacketModel_all.proto
|
# docker run --rm -v .:$(pwd) -w $(pwd) b020_dev protoc --nanopb_out=./ 3rdparty/rwSrvProtocol/PacketModel_all.proto
|
||||||
# make PLATFORM=rv1109 server_protocol
|
# make PLATFORM=rv1109 server_protocol
|
||||||
|
Loading…
Reference in New Issue
Block a user