fix build
This commit is contained in:
@@ -15,6 +15,6 @@ COPY --from=builder source/dependencies/ ./
|
||||
COPY --from=builder source/snapshot-dependencies/ ./
|
||||
COPY --from=builder source/spring-boot-loader/ ./
|
||||
COPY --from=builder source/application/ ./
|
||||
ENV JAVA_OPTS="-Xms512m -Xmx512m"
|
||||
ENV JAVA_OPTS="-Xms1024m -Xmx1024m"
|
||||
ENV MAIN_CLASS="org.springframework.boot.loader.JarLauncher"
|
||||
ENTRYPOINT ["sh", "-c", "exec java ${JAVA_OPTS} -Djava.security.egd=file:dev/./urandom ${MAIN_CLASS}"]
|
||||
|
||||
@@ -14,4 +14,19 @@
|
||||
<version>${revision}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<layers>
|
||||
<enabled>true</enabled>
|
||||
</layers>
|
||||
<skip>false</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
Reference in New Issue
Block a user