fix(Dockerfile): remove debug tools

This commit is contained in:
merlin
2025-11-05 16:31:43 +08:00
parent b65174e065
commit c3787aab2e

View File

@@ -13,13 +13,13 @@ RUN --mount=type=cache,target=/root/.m2 mvn -B -q package -DskipTests
FROM harbor.merlin.xin/mirrors/docker.io/library/eclipse-temurin:17-jre-alpine FROM harbor.merlin.xin/mirrors/docker.io/library/eclipse-temurin:17-jre-alpine
# >>> Install debug tools <<< # >>> Install debug tools <<<
RUN apk update && apk add --no-cache \ #RUN apk update && apk add --no-cache \
curl \ # curl \
bind-tools \ # bind-tools \
busybox-extras \ # busybox-extras \
iproute2 \ # iproute2 \
tcpdump \ # tcpdump \
net-tools # net-tools
WORKDIR /app WORKDIR /app
COPY --from=builder /app/target/*.jar app.jar COPY --from=builder /app/target/*.jar app.jar