Loading...
ip=$(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}' | head -n 1)docker build --build-arg JAR_FILE=./app.jar --build-arg JAR_PORT=808...
<resource> <directory>src/main/resources</directory> <filtering>false</filtering> <includes> <include>jwt.jks</include> </includes>...
1.pom配置 <resource> <!--配置文件路径 --> <directory>src/main/resources</directory> <!--这里对应项目存放配置文件的目录--> <includes> ...
spring.cloud.nacos.discovery.ip=106.0.0.220
sudo apt install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihfCC=arm-linux-gnueabihf-gcc CGO_LDFLAGS="-static" CXX=arm-linux-gnueabihf-g++ CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=7 go build