diff --git a/cmd/Dockerfile b/cmd/Dockerfile index 7024187a..caf91db1 100644 --- a/cmd/Dockerfile +++ b/cmd/Dockerfile @@ -10,7 +10,7 @@ ARG EFFECTIVE_VERSION RUN make build GOARCH=$TARGETARCH EFFECTIVE_VERSION=$EFFECTIVE_VERSION ############# apiserver-proxy-builder ############# -FROM alpine:3.18.5 AS apiserver-proxy-builder +FROM alpine:3.19.0 AS apiserver-proxy-builder RUN apk add --no-cache iproute2-minimal @@ -23,17 +23,11 @@ RUN mkdir -p ./sbin ./lib ./usr/lib ./tmp ./run ./etc/iproute2 \ && cp -d /lib/libc.musl-* ./lib && echo "package musl" \ && cp -d /usr/lib/libcap.* ./usr/lib && echo "package libcap2" \ && cp -d /usr/lib/libpsx.* ./usr/lib && echo "package libcap2" \ - && cp -d /usr/lib/libbz2* ./usr/lib && echo "package libbz2" \ - && cp -d /usr/lib/libfts* ./usr/lib && echo "package musl-fts" \ - && cp -d /usr/lib/liblzma* ./usr/lib && echo "package xz-libs" \ && cp -d /lib/libz.* ./lib && echo "package zlib" \ && cp -d /usr/lib/libzstd.* ./lib && echo "package zstd-libs" \ - && cp -d /usr/lib/libasm* ./usr/lib && echo "package libelf" \ - && cp -d /usr/lib/libdw* ./usr/lib && echo "package libelf" \ && cp -d /usr/lib/libelf* ./usr/lib && echo "package libelf" \ && cp -d /usr/lib/libmnl.* ./usr/lib && echo "package libmnl" \ - && cp -d /sbin/ip ./sbin && echo "package iproute2-minimal" \ - && cp -d /etc/iproute2/* ./etc/iproute2 && echo "package iproute2-minimal" + && cp -d /sbin/ip ./sbin && echo "package iproute2-minimal" ############# apiserver-proxy ############# FROM scratch AS apiserver-proxy