Skip to content

Commit

Permalink
fix:change csi base docker image to debian
Browse files Browse the repository at this point in the history
Signed-off-by: StephenLau007 <[email protected]>
  • Loading branch information
StephenLau007 committed Feb 17, 2023
1 parent 36d0ff5 commit 61280df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile.csi
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ RUN go install github.com/go-delve/delve/cmd/[email protected]

# 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
Expand Down

0 comments on commit 61280df

Please sign in to comment.