add build docker.

This commit is contained in:
luocai 2024-06-25 11:59:08 +08:00
parent cd788ded0a
commit cd1c3e5f59

View File

@ -2,7 +2,7 @@
cross_compile=true
build_hisi=false
debug_deploy=true
debug_deploy=false
TARGET_IP="172.16.103.79"
TARGET_PATH="/system/bin"
base_path=$(pwd)
@ -146,8 +146,8 @@ function deploy_old(){
# fi
if [ $build_hisi = true ]; then
docker run --rm -v /opt:/opt -v .:$(pwd) -w $(pwd) b020_dev 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 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 -j6
else
# docker run --rm -v .:$(pwd) -w $(pwd) b020_dev protoc --nanopb_out=./ 3rdparty/rwSrvProtocol/PacketModel_all.proto
# make PLATFORM=rv1109 server_protocol