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
# >>> Install debug tools <<<
RUN apk update && apk add --no-cache \
curl \
bind-tools \
busybox-extras \
iproute2 \
tcpdump \
net-tools
#RUN apk update && apk add --no-cache \
# curl \
# bind-tools \
# busybox-extras \
# iproute2 \
# tcpdump \
# net-tools
WORKDIR /app
COPY --from=builder /app/target/*.jar app.jar