diff --git a/docker/Dockerfile.csi b/docker/Dockerfile.csi index 3b0a148372a..f183a1e5441 100644 --- a/docker/Dockerfile.csi +++ b/docker/Dockerfile.csi @@ -17,9 +17,11 @@ RUN go install github.com/go-delve/delve/cmd/dlv@v1.8.2 # Use distroless as minimal base image to package the csi binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM alpine:3.16 -RUN apk add --update curl tzdata iproute2 bash libc6-compat vim && \ - rm -rf /var/cache/apk/* && \ +FROM registry.cn-hangzhou.aliyuncs.com/acs/debian:10-slim-update +RUN apt-get update && apt-get install -y curl tzdata iproute2 bash libc6-i386 vim && \ + apt clean all && \ + apt-get autoremove -y && \ + rm -rf /var/lib/apt/lists/* /root/.cache && \ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ echo "Asia/Shanghai" > /etc/timezone