From d9ece2746d8d0ac579c4baee2e6b7cce2d01270b Mon Sep 17 00:00:00 2001 From: StephenLau007 Date: Fri, 17 Feb 2023 14:22:20 +0800 Subject: [PATCH] fix:change csi base docker image to debian --- docker/Dockerfile.csi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile.csi b/docker/Dockerfile.csi index 3b0a148372a..721a290bfc0 100644 --- a/docker/Dockerfile.csi +++ b/docker/Dockerfile.csi @@ -17,8 +17,8 @@ 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 && \ +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 && \ rm -rf /var/cache/apk/* && \ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ echo "Asia/Shanghai" > /etc/timezone