example In project directory: ./build.sh docker build --rm -f Dockerfile-router -t registry.cn-beijing.aliyuncs.com/andy320/router:v1.0.0 . Update build.sh to choose a compiler for the creation of a app docker image as your wish.