Skip to content

Commit

Permalink
#3 Corrected path to JarLauncher spring-projects/spring-boot#37667
Browse files Browse the repository at this point in the history
  • Loading branch information
openwms committed Jun 28, 2024
1 parent f349c40 commit b83ea67
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ COPY ${JAR_FILE} application.jar
RUN java -Djarmode=layertools -jar application.jar extract

FROM amazoncorretto:21-alpine
ARG JAVA_OPTS="-Xss512k"
WORKDIR application
COPY --from=builder application/dependencies/ ./
COPY --from=builder application/spring-boot-loader/ ./
COPY --from=builder application/snapshot-dependencies/ ./
COPY --from=builder application/application/ ./
ENTRYPOINT exec java $JAVA_OPTS org.springframework.boot.loader.JarLauncher
ENTRYPOINT exec java org.springframework.boot.loader.launch.JarLauncher
25 changes: 13 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -269,14 +269,14 @@
<artifactId>micrometer-registry-prometheus</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-brave</artifactId>
</dependency>
<dependency>
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-reporter-brave</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-brave</artifactId>
</dependency>
<dependency>
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-reporter-brave</artifactId>
</dependency>

<!-- 3rd party dependencies -->
<dependency>
Expand All @@ -297,9 +297,9 @@
<groupId>io.github.openfeign</groupId>
<artifactId>feign-httpclient</artifactId>
</dependency>
<dependency>
<groupId>io.interface21</groupId>
<artifactId>ameba-lib</artifactId>
<dependency>
<groupId>io.interface21</groupId>
<artifactId>ameba-lib</artifactId>
</dependency>
<dependency>
<groupId>net.logstash.logback</groupId>
Expand All @@ -309,6 +309,7 @@
<dependency>
<groupId>org.jolokia</groupId>
<artifactId>jolokia-core</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
Expand Down Expand Up @@ -360,7 +361,7 @@
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Staging Repository</name>
Expand Down

0 comments on commit b83ea67

Please sign in to comment.