Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ ARG TARGETARCH
ENV GOPATH=/gopath/
ENV PATH=$GOPATH/bin:$PATH

# Pre-create directories to avoid warnings from update-alternatives.
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7
RUN apt-get update --fix-missing && apt-get --yes install libsystemd-dev gcc-aarch64-linux-gnu
RUN go version

Expand All @@ -38,6 +40,8 @@ FROM registry.k8s.io/build-image/debian-base:bookworm-v1.0.5@sha256:dd9c1f36c33b

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

# Pre-create directories to avoid warnings from update-alternatives.
RUN mkdir -p /usr/share/man/man1 /usr/share/man/man7
RUN clean-install util-linux bash libsystemd-dev

# Avoid symlink of /etc/localtime.
Expand Down