Skip to content

Commit 0c0d396

Browse files
committed
Use JDK image instead of JRE
JRE image leads to startup error Failed to init Reactor's debug agent No compatible attachment provider is available (ByteBuddy)
1 parent 3b4f05a commit 0c0d396

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
FROM adoptopenjdk/openjdk16:alpine-jre as builder
1+
FROM adoptopenjdk/openjdk16:alpine as builder
22
WORKDIR /application
33
ARG JAR_FILE=build/libs/faf-java-api-*.jar
44
COPY ${JAR_FILE} application.jar
55
RUN java -Djarmode=layertools -jar application.jar extract
66

7-
FROM adoptopenjdk/openjdk16:alpine-jre
7+
FROM adoptopenjdk/openjdk16:alpine
88
VOLUME /tmp
99
WORKDIR /application
1010
COPY --from=builder /application/dependencies/ ./

0 commit comments

Comments
 (0)