diff --git a/admin/kernel-syncdata-service/Dockerfile b/admin/kernel-syncdata-service/Dockerfile index 4fa17301ac..21ad53ed97 100644 --- a/admin/kernel-syncdata-service/Dockerfile +++ b/admin/kernel-syncdata-service/Dockerfile @@ -75,8 +75,9 @@ COPY ./target/kernel-syncdata-service-*.jar kernel-syncdata-service.jar # change permissions of file inside working dir RUN chown -R ${container_user}:${container_user} /home/${container_user} -# ✅ One-liner: Add debugging tools (Linux + networking + Java debug symbols) -RUN apk add --no-cache bash curl wget vim tcpdump net-tools iputils bind-tools busybox-extras strace lsof openjdk21-dbg && echo 'JAVA_TOOL_OPTIONS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"' >> /etc/profile +# One-liner without the JDK debug package +RUN apk add --no-cache bash curl wget vim tcpdump net-tools iputils bind-tools busybox-extras strace lsof \ + && echo 'JAVA_TOOL_OPTIONS="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005"' >> /etc/profile # select container user for all tasks USER ${container_user_uid}:${container_user_gid}