Skip to content

Commit

Permalink
fix:clean apt cache
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenLau007 committed Feb 17, 2023
1 parent 61280df commit aeeee67
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/Dockerfile.csi
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ RUN go install github.com/go-delve/delve/cmd/[email protected]
# Refer to https://github.com/GoogleContainerTools/distroless for more details
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/* && \
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

Expand Down

0 comments on commit aeeee67

Please sign in to comment.