Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions admin/kernel-syncdata-service/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
Loading