更换net-tools包

This commit is contained in:
2026-08-10 23:00:19 +08:00
parent 4c6d4ea6a3
commit 651ff38950
+1 -1
View File
@@ -19,7 +19,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build \
FROM alpine:latest
# 先切换到国内镜像源,再安装包
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
RUN apk --no-cache add ca-certificates tzdata sqlite bash netstat curl
RUN apk --no-cache add ca-certificates tzdata sqlite bash net-tools curl
WORKDIR /app