# demo-spring-boot-thin-docker **Repository Path**: consolelog/demo-spring-boot-thin-docker ## Basic Information - **Project Name**: demo-spring-boot-thin-docker - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-08-26 - **Last Updated**: 2021-08-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # demo-spring-boot-thin-docker 使用spring-boot-thin插件,缩小docker每次上传时的差异大小。 参考: https://github.com/spring-projects-experimental/spring-boot-thin-launcher 原理是将依赖和源码分离开,在docker打包时分层提交,实现每次改动源码后,docker镜像只有很小的变化。 注意:现在的实现方法在pom.xml改变时会重新构建所有依赖,这时候的jar包会整体改变,请根据实际业务自己修改。