generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 960
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:change csi base docker image to debian
Signed-off-by: StephenLau007 <[email protected]>
- Loading branch information
1 parent
36d0ff5
commit 61280df
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|