Skip to content

Commit 1f53146

Browse files
Fix: Suppress dpkg warnings in Docker build
1 parent 6cffddb commit 1f53146

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ FROM registry.k8s.io/build-image/debian-base:bookworm-v1.0.5@sha256:dd9c1f36c33b
3838

3939
LABEL maintainer="Random Liu <[email protected]>"
4040

41+
RUN echo "path-exclude /usr/share/man/*" > /etc/dpkg/dpkg.cfg.d/01_nodoc
4142
RUN clean-install util-linux bash libsystemd-dev
4243

4344
# Avoid symlink of /etc/localtime.

0 commit comments

Comments
 (0)