Spring Boot
收藏
Spring Boot GraalVM
ubuntu 中编译报错 /usr/bin/ld: cannot find -lperl
快速开始
# /usr/bin/ld: cannot find -lz: No such file or directory
apt install libz-dev -y
# 构建可执行文件
mvn clean native:compile -Pnative -Dmaven.test.skip=true
# 构建镜像
mvn spring-boot:build-image -Pnative -Dmaven.test.skip=true