perf(docker): switch agent openresty base image to alpine-slim

This commit is contained in:
ryan
2026-09-19 12:34:51 +08:00
parent bf1e77a865
commit 1fe2763034
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ RUN --mount=type=cache,target=/go/pkg/mod \
RUN apk add --no-cache bash curl \
&& bash scripts/fetch-agent-geoip-mmdb.sh
FROM openresty/openresty:alpine
FROM openresty/openresty:alpine-slim
RUN apk add --no-cache ca-certificates tzdata libmaxminddb su-exec libcap \
&& ln -sf /usr/lib/libmaxminddb.so.0 /usr/lib/libmaxminddb.so \