File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ ARG TARGETARCH
27
27
ENV GOPATH=/gopath/
28
28
ENV PATH=$GOPATH/bin:$PATH
29
29
30
+ # Pre-create directories to avoid warnings from update-alternatives.
31
+ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7
30
32
RUN apt-get update --fix-missing && apt-get --yes install libsystemd-dev gcc-aarch64-linux-gnu
31
33
RUN go version
32
34
@@ -38,6 +40,8 @@ FROM registry.k8s.io/build-image/debian-base:bookworm-v1.0.5@sha256:dd9c1f36c33b
38
40
39
41
LABEL maintainer=
"Random Liu <[email protected] >"
40
42
43
+ # Pre-create directories to avoid warnings from update-alternatives.
44
+ RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7
41
45
RUN clean-install util-linux bash libsystemd-dev
42
46
43
47
# Avoid symlink of /etc/localtime.
You can’t perform that action at this time.
0 commit comments