Skip to content

Commit 7f7a267

Browse files
committed
Add binutils package to Dockerfile for eureka-server to support jlink operations
1 parent 06b8909 commit 7f7a267

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vm-deploy/eureka-server/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
FROM amazoncorretto:17-alpine as builder
33
WORKDIR /app
44
COPY eureka-server.jar app.jar
5-
RUN jlink \
5+
RUN apk add --no-cache binutils \
6+
&& jlink \
67
--add-modules java.base,java.logging,java.xml,java.sql,java.naming,java.desktop,java.security.jgss,java.instrument,jdk.unsupported \
78
--strip-debug \
89
--no-man-pages \

0 commit comments

Comments
 (0)